Sha256: 5b8b9cae94267cefd17a89302e32750016fdf33a1eb408b483398bb2a9f1e60f

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

%h1 Liste de Roles

- @roles.each do |role|

  %h2= role.name.capitalize
  %table
    - role.users.each do |u|
      %tr
        %td= u.fullname
        -#-if can? :destroy, role
        -#  %td= link_to t('roles.forms.buttons.delete'), user_role_path(u,role.name), :method => :delete, :data => { :confirm => 'Are you sure ?'}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gorg_engine-1.2.4 app/views/roles/index.html.haml
gorg_engine-1.2.3 app/views/roles/index.html.haml
gorg_engine-1.2.0 app/views/roles/index.html.haml
gorg_engine-1.1.0 app/views/roles/index.html.haml