Mercurial > hg > soundsoftware-site
view app/views/issue_categories/destroy.rhtml @ 330:f1a12c3b4587 cannam-pre-20110113-merge
We don't actually want text formatting in our short summary, but we don't want wiki metacharacters either. So apply wiki formatting and then strip out the tags in a very naive fashion.
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 29 Mar 2011 18:03:55 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
<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> <p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_issue_category_destroy_assignments) %></label><br /> <% if @categories.size > 0 %> <label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_issue_category_reassign_to) %></label>: <%= 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 %>