2006-06-28 22:11:03 +04:00
|
|
|
<%= error_messages_for 'issue_status' %>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<div class="box">
|
2006-06-28 22:11:03 +04:00
|
|
|
<!--[form:issue_status]-->
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="issue_status_name"><%=l(:field_name)%><span class="required"> *</span></label>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= text_field 'issue_status', 'name' %></p>
|
|
|
|
|
2009-12-11 21:48:34 +03:00
|
|
|
<% if Issue.use_status_for_done_ratio? %>
|
|
|
|
<p><label for="issue_done_ratio"><%=l(:field_done_ratio)%></label>
|
2009-12-12 13:33:12 +03:00
|
|
|
<%= select 'issue_status', :default_done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }), :include_blank => true %></p>
|
2009-12-11 21:48:34 +03:00
|
|
|
<% end %>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="issue_status_is_closed"><%=l(:field_is_closed)%></label>
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= check_box 'issue_status', 'is_closed' %></p>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="issue_status_is_default"><%=l(:field_is_default)%></label>
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= check_box 'issue_status', 'is_default' %></p>
|
|
|
|
|
2009-03-21 03:22:59 +03:00
|
|
|
<%= call_hook(:view_issue_statuses_form, :issue_status => @issue_status) %>
|
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
<!--[eoform:issue_status]-->
|
2009-03-21 03:22:59 +03:00
|
|
|
</div>
|