2008-06-17 23:10:54 +04:00
|
|
|
<h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2>
|
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= form_tag({}, :method => :delete) do %>
|
2008-06-17 23:10:54 +04:00
|
|
|
<div class="box">
|
|
|
|
<p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p>
|
2011-10-29 05:18:10 +04:00
|
|
|
<p><label for='reassign_to_id'><%= l(:text_enumeration_category_reassign_to) %></label>
|
2008-06-17 23:10:54 +04:00
|
|
|
<%= 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) %>
|
2011-12-11 14:26:12 +04:00
|
|
|
<%= link_to l(:button_cancel), enumerations_path %>
|
2008-06-17 23:10:54 +04:00
|
|
|
<% end %>
|