2009-01-17 10:53:32 +03:00
|
|
|
<div class="attributes">
|
2008-02-09 19:11:18 +03:00
|
|
|
<div class="splitcontentleft">
|
|
|
|
<p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p>
|
2011-07-23 23:05:22 +04:00
|
|
|
<p><%= f.select :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to), :include_blank => true %></p>
|
2008-02-09 19:11:18 +03:00
|
|
|
</div>
|
|
|
|
<div class="splitcontentright">
|
2009-12-11 21:48:34 +03:00
|
|
|
<% if Issue.use_field_for_done_ratio? %>
|
2008-02-09 19:11:18 +03:00
|
|
|
<p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>
|
2009-12-11 21:48:34 +03:00
|
|
|
<% end %>
|
2009-11-08 16:03:41 +03:00
|
|
|
<% unless @issue.assignable_versions.empty? %>
|
2009-12-10 23:15:03 +03:00
|
|
|
<p><%= f.select :fixed_version_id, (@issue.assignable_versions.collect {|v| [v.name, v.id]}), :include_blank => true %></p>
|
2009-11-08 16:03:41 +03:00
|
|
|
<% end %>
|
2008-02-09 19:11:18 +03:00
|
|
|
</div>
|
2009-01-17 10:53:32 +03:00
|
|
|
</div>
|