##// END OF EJS Templates
Lists can be reordered with drag and drop (#12909)....
Lists can be reordered with drag and drop (#12909). git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14363:2f51dc11cfdf
r14954:42b5c332b2c2
Show More
_enumeration.erb
12 lines | 524 B | text/plain | TextLexer
Jean-Philippe Lang
Adds Enumeration custom field format (#21060)....
r14363 <% unless @custom_field.new_record? %>
<p>
<label><%= l(:field_possible_values) %></label>
<%= link_to l(:button_edit), custom_field_enumerations_path(@custom_field), :class => 'icon icon-edit' %>
</p>
<% if @custom_field.enumerations.active.any? %>
<p><%= f.select :default_value, @custom_field.enumerations.active.map{|v| [v.name, v.id.to_s]}, :include_blank => true %></p>
<% end %>
<% end %>
<p><%= f.text_field :url_pattern, :size => 50, :label => :label_link_values_to %></p>
<p><%= edit_tag_style_tag f %></p>