You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

destroy.html.erb 895B

12345678910111213141516
  1. <h2><%=l(:label_issue_category)%>: <%=h @category.name %></h2>
  2. <%= form_tag(issue_category_path(@category), :method => :delete) do %>
  3. <div class="box">
  4. <p><strong><%= l(:text_issue_category_destroy_question, @issue_count) %></strong></p>
  5. <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_issue_category_destroy_assignments) %></label><br />
  6. <% if @categories.size > 0 %>
  7. <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_issue_category_reassign_to) %></label>:
  8. <%= label_tag "reassign_to_id", l(:description_issue_category_reassign), :class => "hidden-for-sighted" %>
  9. <%= select_tag 'reassign_to_id', options_from_collection_for_select(@categories, 'id', 'name') %></p>
  10. <% end %>
  11. </div>
  12. <%= submit_tag l(:button_apply) %>
  13. <%= link_to l(:button_cancel), :controller => 'projects', :action => 'settings', :id => @project, :tab => 'categories' %>
  14. <% end %>