<%= t('activerecord.attributes.role.name') -%> | <%= t('activerecord.attributes.role.display_name') -%> | |
---|---|---|
<%= link_to role.name, role -%> | <%= link_to role.display_name.localize, role -%> | <%- 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 -%> |