destroy.html.erb
12 lines
| 669 B
| text/plain
|
TextLexer
|
r11820 | <%= title [l(@enumeration.option_name), enumerations_path], @enumeration.name %> | ||
|
r1544 | |||
|
r9346 | <%= form_tag({}, :method => :delete) do %> | ||
|
r1544 | <div class="box"> | ||
|
r14368 | <p><strong><%= l(:text_enumeration_destroy_question, :name => @enumeration.name, :count => @enumeration.objects_count) %></strong></p> | ||
|
r7564 | <p><label for='reassign_to_id'><%= l(:text_enumeration_category_reassign_to) %></label> | ||
|
r11624 | <%= select_tag 'reassign_to_id', (content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---", :value => '') + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p> | ||
|
r1544 | </div> | ||
<%= submit_tag l(:button_apply) %> | ||||
|
r8069 | <%= link_to l(:button_cancel), enumerations_path %> | ||
|
r1544 | <% end %> | ||