Mercurial > hg > soundsoftware-site
diff app/views/enumerations/destroy.html.erb @ 1115:433d4f72a19b redmine-2.2
Update to Redmine SVN revision 11137 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Mon, 07 Jan 2013 12:01:42 +0000 |
parents | cbb26bc654de |
children | 261b3d9a4903 |
line wrap: on
line diff
--- a/app/views/enumerations/destroy.html.erb Wed Jun 27 14:54:18 2012 +0100 +++ b/app/views/enumerations/destroy.html.erb Mon Jan 07 12:01:42 2013 +0000 @@ -1,12 +1,12 @@ <h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2> -<% form_tag({}) do %> +<%= 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', ("<option>--- #{l(:actionview_instancetag_blank_option)} ---</option>" + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p> +<%= 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), :controller => 'enumerations', :action => 'index' %> +<%= link_to l(:button_cancel), enumerations_path %> <% end %>