Description | <%= @role.description %> |
---|---|
Created At | <%= @role.created_at %> |
Updated At | <%= @role.updated_at %> |
Start Path | <%= @role.start_path %> |
This Role and the Roles on which it is based, and the Permissions for each:
<%= image_tag("/goldberg/images/permission.png") %> | <%= link_to rp.name, :controller => 'goldberg/permissions', :action => 'show', :id => rp.permission_id %> | <%= link_to image_tag("/goldberg/images/delete.png") + ' Remove', { :controller => 'goldberg/roles_permissions', :action => 'destroy', :id => rp.id }, :confirm => 'Remove this Permission from this Role?', :method => 'post' %> |
(None)
<% end -%><%= link_to image_tag("/goldberg/images/add.png") + ' Add Permission', { :controller => 'goldberg/roles_permissions', :action => 'new_permission_for_role', :id => @role.id }%> for this Role
(No Users for this Role)
<% end -%><%= link_to 'Edit', :action => 'edit', :id => @role %> | <%= link_to 'Delete', {:action => 'destroy', :id => @role}, :confirm => 'Are you sure?', :method => 'post' %>
<%= link_to 'Back', :action => 'list' %> to Roles list