<%= _('Gamification Plugin: Listing Points by profile') %>

<%= flash[:notice] %>
<% @categories.each do |category| %> <% end %>
Comunidade
<%= category.profile.nil? ? _('General Pontuation') : category.profile.name %> <%= link_to 'Edit', {action: :edit, id: category.profile_id} %> <%= button_without_text :delete, _('Remove'), {:action => :destroy, :id => category.profile_id}, :method => :post, :confirm => _('Are you sure?') %>

<%= form_tag({action: :create}, class: "gamification_plugin_activate_profile") do %> <%= labelled_form_field(_('Activate pontuation rules for: '), text_field_tag(:identifier, nil,placeholder: _("Profile"), size: 40)) %> <%= submit_button 'forward', _('submit') %> <% end %> <%= link_to 'Back', :controller => 'gamification_plugin_admin', :action => :index %>