socialforge/app/views/issue_statuses/_form.html.erb

13 lines
480 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<%= error_messages_for 'issue_status' %>
<div class="box tabular">
<p><%= f.text_field :name, :required => true %></p>
<% if Issue.use_status_for_done_ratio? %>
<p><%= f.select :default_done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }), :include_blank => true, :label => :field_done_ratio %></p>
<% end %>
<p><%= f.check_box :is_closed %></p>
<p><%= f.check_box :is_default %></p>
<%= call_hook(:view_issue_statuses_form, :issue_status => @issue_status) %>
</div>