<%=l(:label_enumerations)%>
<% Enumeration::OPTIONS.each do |option, name| %>
<% if params[:opt]==option %>
<%= l(name) %>
<% for value in Enumeration.find(:all, :conditions => ["opt = ?", option]) %>
- <%= link_to value.name, :action => 'edit', :id => value %>
<% end %>
<%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option }, :class => "icon icon-add" %>
<% else %>
<%= link_to l(name), :opt => option %>
<% end %>
<% end %>