cirandas.net

ref: master

app/views/role/show.html.erb


<%= _(@role.name) %>

<%= _('Permissions') %>

    <% @role.permissions.each do |p| %>
  • <%= permission_name(p) %>
  • <% end %>
<%= button_bar do %> <%= button :edit, _('Edit'), :action => 'edit', :id => @role %> <%= button :back, _('Back to roles management'), :action => 'index' %> <% end %>