Sha256: 480b68e57edcaf1dea6732cd7ea0109d8961e96c1f73426c9397577c7a0c8f15

Contents?: true

Size: 863 Bytes

Versions: 2

Compression:

Stored size: 863 Bytes

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.role')) -%></h1>
<div id="content_list">

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.attributes.role.name') -%></th>
    <th><%= t('activerecord.attributes.role.display_name') -%></th>
    <th></th>
  </tr>

<%- @roles.each do |role| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to role.name, role -%></td>
    <td><%= link_to role.display_name.localize, role -%></td>
    <td>
      <%= link_to t('page.edit'), edit_role_path(role) -%>
      <%= link_to t('page.destroy'), role, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
    </td>
  </tr>
<%- end -%>
</table>

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc12 app/views/roles/index.html.erb
enju_leaf-1.1.0.rc11 app/views/roles/index.html.erb