<%=l(:label_enumerations)%>

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

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

<% enumerations = klass.shared %>

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name), :class => 'icon icon-add' %>

<% if enumerations.any? %> <% enumerations.each do |enumeration| %> <% end %>
<%= l(:field_name) %> <%= l(:field_is_default) %> <%= l(:field_active) %>
<%= link_to enumeration, edit_enumeration_path(enumeration) %> <%= checked_image enumeration.is_default? %> <%= checked_image enumeration.active? %> <%= reorder_handle(enumeration, :url => enumeration_path(enumeration), :param => 'enumeration') %> <%= delete_link enumeration_path(enumeration) %>
<% else %>

<%= l(:label_no_data) %>

<% end %> <% end %> <% html_title(l(:label_enumerations)) -%> <%= javascript_tag do %> $(function() { $("table.enumerations tbody").positionedItems(); }); <% end %>