Mercurial > hg > soundsoftware-site
diff app/views/issue_categories/destroy.html.erb @ 908:c6c2cbd0afee redmine-1.3
Rename .rhtml files to .html.erb in preparation for merge
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 18:36:29 +0000 |
parents | app/views/issue_categories/destroy.rhtml@513646585e45 |
children | cbb26bc654de |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/issue_categories/destroy.html.erb Fri Feb 24 18:36:29 2012 +0000 @@ -0,0 +1,15 @@ +<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 %>