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.17.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.17.1 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.17.0 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.16.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.16.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.16.0 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.15.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.15.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.15.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.15.1 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.12 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.10 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.9 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.8 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.7 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.6 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.5 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml
six-updater-web-0.14.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml