summaryrefslogtreecommitdiffstats
path: root/app/views/enumerations/destroy.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/enumerations/destroy.html.erb')
-rw-r--r--app/views/enumerations/destroy.html.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/enumerations/destroy.html.erb b/app/views/enumerations/destroy.html.erb
new file mode 100644
index 000000000..657df8322
--- /dev/null
+++ b/app/views/enumerations/destroy.html.erb
@@ -0,0 +1,12 @@
+<h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2>
+
+<% form_tag({}) do %>
+<div class="box">
+<p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p>
+<p><%= l(:text_enumeration_category_reassign_to) %>
+<%= select_tag 'reassign_to_id', ("<option>--- #{l(:actionview_instancetag_blank_option)} ---</option>" + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p>
+</div>
+
+<%= submit_tag l(:button_apply) %>
+<%= link_to l(:button_cancel), :controller => 'enumerations', :action => 'index' %>
+<% end %>