2007-09-15 20:52:32 +04:00
|
|
|
<h2><%=l(:label_issue_category)%>: <%=h @category.name %></h2>
|
|
|
|
|
|
|
|
<% form_tag({}) do %>
|
|
|
|
<div class="box">
|
|
|
|
<p><strong><%= l(:text_issue_category_destroy_question, @issue_count) %></strong></p>
|
2008-03-01 01:54:07 +03:00
|
|
|
<p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_issue_category_destroy_assignments) %></label><br />
|
2007-09-15 20:52:32 +04:00
|
|
|
<% if @categories.size > 0 %>
|
2008-03-01 01:54:07 +03:00
|
|
|
<label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_issue_category_reassign_to) %></label>:
|
2011-10-28 18:21:46 +04:00
|
|
|
<%= label_tag "reassign_to_id", l(:description_issue_category_reassign), :class => "hidden-for-sighted" %>
|
2007-09-15 20:52:32 +04:00
|
|
|
<%= select_tag 'reassign_to_id', options_from_collection_for_select(@categories, 'id', 'name') %></p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= submit_tag l(:button_apply) %>
|
|
|
|
<%= link_to l(:button_cancel), :controller => 'projects', :action => 'settings', :id => @project, :tab => 'categories' %>
|
|
|
|
<% end %>
|