annotate app/views/enumerations/destroy.rhtml @ 685:4481db876cdb
feature_36
Feature #238 - Refactoring of the Bibtex Fields Hash and Arrays.
| author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
| date |
Fri, 16 Sep 2011 14:37:24 +0100 |
| parents |
513646585e45 |
| children |
|
| rev |
line source |
|
Chris@0
|
1 <h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2>
|
|
Chris@0
|
2
|
|
Chris@0
|
3 <% form_tag({}) do %>
|
|
Chris@0
|
4 <div class="box">
|
|
Chris@0
|
5 <p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p>
|
|
Chris@0
|
6 <p><%= l(:text_enumeration_category_reassign_to) %>
|
|
Chris@0
|
7 <%= select_tag 'reassign_to_id', ("<option>--- #{l(:actionview_instancetag_blank_option)} ---</option>" + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p>
|
|
Chris@0
|
8 </div>
|
|
Chris@0
|
9
|
|
Chris@0
|
10 <%= submit_tag l(:button_apply) %>
|
|
Chris@0
|
11 <%= link_to l(:button_cancel), :controller => 'enumerations', :action => 'index' %>
|
|
Chris@0
|
12 <% end %>
|