diff --git a/app/views/enumerations/_form.html.erb b/app/views/enumerations/_form.html.erb index 21b948166d..d64b087a1b 100644 --- a/app/views/enumerations/_form.html.erb +++ b/app/views/enumerations/_form.html.erb @@ -1,19 +1,19 @@ <%= error_messages_for 'enumeration' %>
-<%= text_field 'enumeration', 'name' %>
++<%= text_field 'enumeration', 'name' %>
--<%= check_box 'enumeration', 'active' %>
++<%= check_box 'enumeration', 'active' %>
--<%= check_box 'enumeration', 'is_default' %>
++<%= check_box 'enumeration', 'is_default' %>
<% @enumeration.custom_field_values.each do |value| %> -<%= custom_field_tag_with_label :enumeration, value %>
+<%= custom_field_tag_with_label :enumeration, value %>
<% end %><%= l(:field_name) %> | -<%= l(:field_is_default) %> | -<%= l(:field_active) %> | -- | + | <%= Enumeration.human_attribute_name(:name) %> | +<%= Enumeration.human_attribute_name(:is_default) %> | +<%= Enumeration.human_attribute_name(:active) %> | ++ | |
---|---|---|---|---|---|---|---|---|---|
<%= link_to h(enumeration), :action => 'edit', :id => enumeration %> | -<%= checked_image enumeration.is_default? %> | -<%= checked_image enumeration.active? %> | -<%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :method => :put) %> | -+ | <%= link_to h(enumeration), :action => 'edit', :id => enumeration %> | +<%= checked_image enumeration.is_default? %> | +<%= checked_image enumeration.active? %> | +<%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :method => :put) %> | +<%= link_to l(:button_delete), { :action => 'destroy', :id => enumeration }, - :method => :post, - :confirm => l(:text_are_you_sure), - :class => 'icon icon-del' %> - | + :method => :post, + :confirm => l(:text_are_you_sure), + :class => 'icon icon-del' %> +