<%=l(:label_enumerations)%>

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

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

<% enumerations = klass.shared %> <% 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 %> <%= 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' %>
<% reset_cycle %> <% end %>

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

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