Mercurial > hg > soundsoftware-site
annotate app/views/issue_categories/destroy.html.erb @ 1564:53c879bb2f7f live
Update Gemfile
author | Chris Cannam |
---|---|
date | Tue, 26 Jan 2016 10:37:37 +0000 |
parents | 433d4f72a19b |
children |
rev | line source |
---|---|
Chris@0 | 1 <h2><%=l(:label_issue_category)%>: <%=h @category.name %></h2> |
Chris@0 | 2 |
Chris@1115 | 3 <%= form_tag(issue_category_path(@category), :method => :delete) do %> |
Chris@0 | 4 <div class="box"> |
Chris@0 | 5 <p><strong><%= l(:text_issue_category_destroy_question, @issue_count) %></strong></p> |
Chris@0 | 6 <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_issue_category_destroy_assignments) %></label><br /> |
Chris@0 | 7 <% if @categories.size > 0 %> |
Chris@0 | 8 <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_issue_category_reassign_to) %></label>: |
Chris@909 | 9 <%= label_tag "reassign_to_id", l(:description_issue_category_reassign), :class => "hidden-for-sighted" %> |
Chris@0 | 10 <%= select_tag 'reassign_to_id', options_from_collection_for_select(@categories, 'id', 'name') %></p> |
Chris@0 | 11 <% end %> |
Chris@0 | 12 </div> |
Chris@0 | 13 |
Chris@0 | 14 <%= submit_tag l(:button_apply) %> |
Chris@0 | 15 <%= link_to l(:button_cancel), :controller => 'projects', :action => 'settings', :id => @project, :tab => 'categories' %> |
Chris@0 | 16 <% end %> |