File: destroy.html.erb

package info (click to toggle)
redmine 6.0.5%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 20,952 kB
  • sloc: ruby: 116,216; javascript: 12,887; sh: 469; perl: 303; python: 179; makefile: 30
file content (14 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<%= title [l(:label_custom_field_plural), custom_fields_path],
  [l(@custom_field.type_name), custom_fields_path(:tab => @custom_field.class.name)],
  @custom_field.name %>

<%= form_tag(custom_field_enumeration_path(@custom_field, @value), :method => :delete) do %>
<div class="box">
<p><strong><%= l(:text_enumeration_destroy_question, :name => @value.name, :count => @value.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)} ---", :value => '') + options_from_collection_for_select(@enumerations, 'id', 'name')) %></p>
</div>

<%= submit_tag l(:button_apply) %>
<%= link_to l(:button_cancel), custom_field_enumerations_path(@custom_field) %>
<% end %>