Sha256: 9cca680ab3d6b2661cc64c861db66bbe5b944f6883a4c0a5319695b237bcf8c7
Contents?: true
Size: 959 Bytes
Versions: 5
Compression:
Stored size: 959 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, role -%></td> <td> <%- if policy(role).update? -%> <%= link_to t('page.edit'), edit_role_path(role) -%> <%- end -%> <%- if policy(role).destroy? -%> <%= link_to t('page.destroy'), role, data: {confirm: t('page.are_you_sure')}, method: :delete -%> <%- end -%> </td> </tr> <%- end -%> </table> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> </div>
Version data entries
5 entries across 5 versions & 1 rubygems