Mercurial > hg > soundsoftware-site
diff .svn/pristine/04/046cbe787072732ca9cd18ffb9fce1aa135f723e.svn-base @ 1339:c03a6c3c4db9 luisf
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 20 Jun 2013 14:34:42 +0100 |
parents | 038ba2d95de8 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/04/046cbe787072732ca9cd18ffb9fce1aa135f723e.svn-base Thu Jun 20 14:34:42 2013 +0100 @@ -0,0 +1,12 @@ +<h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2> + +<%= form_tag({}, :method => :delete) do %> +<div class="box"> +<p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p> +<p><label for='reassign_to_id'><%= l(:text_enumeration_category_reassign_to) %></label> +<%= select_tag 'reassign_to_id', (content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---") + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p> +</div> + +<%= submit_tag l(:button_apply) %> +<%= link_to l(:button_cancel), enumerations_path %> +<% end %>