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

Version Path
six-updater-web-0.17.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.17.1 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.17.0 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.16.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.16.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.16.0 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.15.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.15.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.15.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.15.1 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.12 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.10 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.9 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.8 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.7 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.6 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.5 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml
six-updater-web-0.14.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml