cirandas.net

ref: master

app/views/profile_roles/index.html.erb


<%= _('Manage user roles') %>

<% @roles.each do |role| %> <% end %>
<%= _('Role') %> <%= _('Actions') %>
<%= link_to role.name, :action => 'show', :id => role %>
<%= button_without_text :edit, _('Edit'), :action => 'edit', :id => role %> <%= button_without_text :delete, _('Delete'), :action => 'destroy', :id => role %> <%= button_without_text 'vertical-toggle', _('Assign'), :action => 'assign', :id => role %>
<%= button_bar do %> <%= button :add, _('Create a new role'), :action => 'new' %> <%= button :back, _('Back to control panel'), :controller => 'profile_editor' %> <% end %>