Sha256: 490824b4a748347640f87ba2bb74c8a9b8400c6832ad2c42b8d0bda5d35da878
Contents?: true
Size: 863 Bytes
Versions: 5
Compression:
Stored size: 863 Bytes
Contents
<% title _("Roles") %> <% title_actions link_to(_("New role"), new_role_path), link_to_if_authorized(_("Permissions report"), :action => 'report') %> <table class="table table-bordered table-striped"> <thead> <tr> <th><%= sort :name, :as => s_("Role|Name") %></th> <th></th> </tr> </thead> <tbody> <% for role in @roles %> <tr> <td> <%= content_tag(role.builtin? ? 'em' : 'span', link_to_if_authorized(role.name, :action => 'edit', :id => role)) %> </td> <td class="buttons"> <%= display_delete_if_authorized(hash_for_role_path(:id => role), :confirm => (_("Delete %s?") % role.name)) unless role.builtin? %> </td> </tr> <% end %> </tbody> </table> <%= page_entries_info @roles %> <%= will_paginate @roles %>
Version data entries
5 entries across 5 versions & 1 rubygems