<%=l(:label_enumerations)%>

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

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

<% enumerations = klass.all %> <% if enumerations.any? %> <% enumerations.each do |enumeration| %> <% end %>
<%= link_to h(enumeration), :action => 'edit', :id => enumeration %> <%= image_tag('true.png') if enumeration.is_default? %> <%= 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)) -%>