Sha256: 8dd192bd7e0b42431e1595a232cf2f9c3a7cc0daba9e6cabebfcd793d2b34b11

Contents?: true

Size: 851 Bytes

Versions: 6

Compression:

Stored size: 851 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

6 entries across 6 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc18 app/views/roles/index.html.erb
enju_leaf-1.1.0.rc17 app/views/roles/index.html.erb
enju_leaf-1.1.0.rc16 app/views/roles/index.html.erb
enju_leaf-1.1.0.rc15 app/views/roles/index.html.erb
enju_leaf-1.1.0.rc14 app/views/roles/index.html.erb
enju_leaf-1.1.0.rc13 app/views/roles/index.html.erb