<%= _("Manage comments labels") %>

<% if @labels.empty? %> <%= _('(no label registered yet)') %> <% else %> <% @labels.each do |label| %> <% end %>
<%= _('Label') %> <%= _('Color') %> <%= _('Enabled') %> <%= _('Actions') %>
<%= label.name %> <%= label.color %> <%= label.enabled %> <%= button_without_text :edit, _('Edit'), {:action => 'edit', :id => label} %> <%= button_without_text :delete, _('Remove'), {:action => 'destroy', :id => label}, :confirm => _('Are you sure you want to remove this label?') %>
<% end %> <% button_bar do %> <%= button(:add, _('Add a new label'), :action => 'create')%> <%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %> <% end %>