Sha256: ad4ef21122ca58002f2c4b03421da3cd4e7826365828673fa936ce1038d2d1e9

Contents?: true

Size: 541 Bytes

Versions: 8

Compression:

Stored size: 541 Bytes

Contents

<%= semantic_form_for @inkling_admin_permission do |f| %>
  <%= f.input :role, :as => :select %>
  <%= f.input :content_type, :as => :select %>

  <% form.buttons do %>
    <%= form.commit_button %>
  <% end %>
<% end %>


<p/>
<table id="permissions-table">
  <tr>
    <th>Action</th>
    <th>Type</th>
    <th>Role</th>
  </tr>
  <% for permission in @permissions %>
    <tr>
      <td><%= permission.action %></td>
      <td><%= permission.content_type %></td>
      <td><%= permission.role.name %></td>
    </tr>  
  <% end %>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
inkling-0.1.0 app/views/inkling/admin/permissions/index.html.erb
inkling-0.0.9 app/views/inkling/admin/permissions/index.html.erb
inkling-0.0.8 app/views/inkling/admin/permissions/index.html.erb
inkling-0.0.7 app/views/inkling/admin/permissions/index.html.erb
inkling-0.0.5 app/views/inkling/admin/permissions/index.html.erb
inkling-0.0.4 app/views/inkling/admin/permissions/index.html.erb
inkling-0.0.3a app/views/inkling/admin/permissions/index.html.erb
inkling-0.0.3 app/views/inkling/admin/permissions/index.html.erb