Sha256: 9261dc7dee7005c1cc5d3b9b8f4848060e7a361040e48e421142ea8392723862
Contents?: true
Size: 1.01 KB
Versions: 97
Compression:
Stored size: 1.01 KB
Contents
<h1>Permission: <%=h @permission.name %></h1> <h2> Actions for Permission: <%=@permission.name%> </h2> <% if @actions.length > 0 -%> <ul> <% for action in @actions do -%> <li> <%= link_to action.name, {:controller => 'controller_actions', :action => 'show', :id => action.id} %> </li> <% end %> </ul> <% else -%> <p>(none)</p> <% end -%> <p> <%= link_to 'Show all Actions', :controller => 'controller_actions', :action => 'list' %></p> <hr/> <h2> Pages for Permission: <%=@permission.name%> </h2> <% if @pages.length > 0 -%> <ul> <% for page in @pages do -%> <li> <%= page.name %> </li> <% end %> </ul> <% else -%> <p>(none)</p> <% end -%> <p> <%= link_to 'Show all Pages', :controller => 'content_pages', :action => 'list' %></p> <hr/> <p><%= link_to 'Edit', :action => 'edit', :id => @permission %> | <%= link_to 'Delete', {:action => 'destroy', :id => @permission}, :confirm => 'Are you sure?', :method => 'post' %> </p> <p><%= link_to 'Back', :action => 'list' %> to Permissions list</p>
Version data entries
97 entries across 97 versions & 2 rubygems