ref: master
plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb
<%= _("Manage comments status") %>
<% if @status.empty? %> <%= _('(no status registered yet)') %> <% else %><% end %> <%= button_bar do %> <%= button(:add, _('Add a new status'), :action => 'create')%> <%= button :back, c_('Back to admin panel'), :controller => 'admin_panel' %> <% end %>
<% @status.each do |st| %> <%= _('Status') %> <%= _('Enabled') %> <%= _('Reason enabled?') %> <%= _('Actions') %> <% end %> <%= st.name %> <%= st.enabled %> <%= st.enable_reason %> <%= button_without_text :edit, c_('Edit'), {:action => 'edit', :id => st} %> <%= button_without_text :delete, c_('Remove'), {action: 'destroy', id: st}, data: {confirm: _('Are you sure you want to remove this status?')} %>