Sha256: 42cce4f53f1a5ba2a16ca2c0ff5104d0a13b136a624a911a3c1c7bc99167754d

Contents?: true

Size: 875 Bytes

Versions: 1

Compression:

Stored size: 875 Bytes

Contents

<h1>Listing standalone_resources</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Description</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @standalone_resources.each do |standalone_resource| %>
  <tr>
    <td><%= standalone_resource.name %></td>
    <td><%= standalone_resource.description %></td>
    <td><%= link_to 'Show', standalone_resource %></td>
    <td><%= link_to 'Edit', edit_standalone_resource_path(standalone_resource) if check_privilege(Alberich::Privilege::MODIFY, standalone_resource)%></td>
    <td><%= link_to 'Destroy', standalone_resource, method: :delete, data: { confirm: 'Are you sure?' } if check_privilege(Alberich::Privilege::MODIFY, standalone_resource)%></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Standalone resource', new_standalone_resource_path if check_privilege(Alberich::Privilege::CREATE, StandaloneResource)%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 test/dummy/app/views/standalone_resources/index.html.erb