Sha256: 809fbeddcd0e804e8246973d7019790453f1227c71a19713b1cefade2dfc11c4

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

%h1=t "Listing roles"

%table
  %tr
    %th=t "Name"
    %th=t "Scope"
    %th=t "assign_to_owner"
    %th
    %th
    %th

  - @roles.each do |role|
    %tr
      %th= link_to role.name, role
      %th= role.scope
      %th= role.assign_to_owner
      %th= link_to 'Show', role
      %th= link_to 'Edit', edit_role_path(role)
      %th= link_to 'Destroy', role, method: :delete, data: { confirm: 'Are you sure?' }, :id => "destroy_role_#{role.id}"

%br

= link_to 'New Role', new_role_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 app/views/alberich/roles/index.html.haml