Sha256: d0638837b62c4a5b5f8327a6bf7c28873ef1be9063746e649487d6f8c22c2a91

Contents?: true

Size: 1.15 KB

Versions: 97

Compression:

Stored size: 1.15 KB

Contents

<h1> Controller: <%= @site_controller.name %></h1>

<table>
<tr><th>Permission:</th><td><%= @site_controller.permission.name
%></td></tr>
<tr><th>Builtin:</th><td><%= if @site_controller.builtin == 1 then
"True" else "False" end %></td></tr>
</table>

<hr />
<h2> Actions </h2>

<% if @actions.length > 0 -%>

<table>
<tr><th> Name </th><th> Permission </th></tr>
<% for action in @actions -%>
<tr>
<td> <%= link_to action.name, :controller => 'controller_actions',
                 :action => 'show', :id => action.id %> </td>
<td> <%= action.permission ? action.permission.name : '(default)' %> </td> 
<% end -%>
</table>
<% else -%>
<p> (No Actions for this Controller) </p>
<% end -%>

<br/>
<p> <%= link_to image_tag("/goldberg/images/add.png") + ' Add New Action', {:controller => 'controller_actions',
    :action => 'new_for', :id => @site_controller.id } %> 
    for this Controller </p>

<hr/>
<p><%= link_to 'Edit', :action => 'edit', :id => @site_controller %> |
<%= link_to 'Delete', {:action => 'destroy', :id => @site_controller}, 
    :confirm => 'Are you sure?', :method => 'post' %> </p>

<p><%= link_to 'Back', :action => 'list' %> to Controllers list</p>

Version data entries

97 entries across 97 versions & 2 rubygems

Version Path
six-updater-web-0.24.15 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.14 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.13 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.12 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.11 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.10 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.9 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.8 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.7 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.6 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.5 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.1 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.24.0 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.23.7 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.23.6 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.23.5 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.23.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml