<%=l(:label_enumerations)%>

<% Enumeration.get_subclasses.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) %> <%=l(:button_sort)%>
<%= link_to h(enumeration), edit_enumeration_path(enumeration) %> <%= checked_image enumeration.is_default? %> <%= checked_image enumeration.active? %> <%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %> <%= delete_link enumeration_path(enumeration) %>
<% reset_cycle %> <% end %>

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %>

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