Mercurial > hg > soundsoftware-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
929:5f33065ddc4b | 1115:433d4f72a19b |
---|---|
1 <h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2> | 1 <h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2> |
2 | 2 |
3 <% form_tag({}) do %> | 3 <%= form_tag({}, :method => :delete) do %> |
4 <div class="box"> | 4 <div class="box"> |
5 <p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p> | 5 <p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p> |
6 <p><label for='reassign_to_id'><%= l(:text_enumeration_category_reassign_to) %></label> | 6 <p><label for='reassign_to_id'><%= l(:text_enumeration_category_reassign_to) %></label> |
7 <%= select_tag 'reassign_to_id', ("<option>--- #{l(:actionview_instancetag_blank_option)} ---</option>" + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p> | 7 <%= select_tag 'reassign_to_id', (content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---") + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p> |
8 </div> | 8 </div> |
9 | 9 |
10 <%= submit_tag l(:button_apply) %> | 10 <%= submit_tag l(:button_apply) %> |
11 <%= link_to l(:button_cancel), :controller => 'enumerations', :action => 'index' %> | 11 <%= link_to l(:button_cancel), enumerations_path %> |
12 <% end %> | 12 <% end %> |