<%=l(:label_enumerations)%>

<% Enumeration.get_subclasses.each do |klass| %>

<%= l(klass::OptionName) %>

<% enumerations = klass.all %> <% if enumerations.any? %> <% enumerations.each do |enumeration| %> <% end %>
<%= l(:field_name) %> <%= l(:field_is_default) %> <%= l(:field_active) %>
<%= link_to h(enumeration), :action => 'edit', :id => enumeration %> <%= image_tag('true.png') if enumeration.is_default? %> <%= image_tag('true.png') if enumeration.active? %> <%= reorder_links('enumeration', {:action => 'update', :id => enumeration}) %> <%= link_to l(:button_delete), { :action => 'destroy', :id => enumeration }, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del' %>
<% reset_cycle %> <% end %>

<%= link_to l(:label_enumeration_new), { :action => 'new', :type => klass.name } %>

<% end %> <% html_title(l(:label_enumerations)) -%>