Sha256: acade69deef14b87273d8d1c695254ee392fed4f9853e26cbafe55d12735d918

Contents?: true

Size: 598 Bytes

Versions: 1

Compression:

Stored size: 598 Bytes

Contents

.page-header
  = link_to new_role_path, class: 'btn btn-primary' do
    %span.glyphicon.glyphicon-plus
    New Role
  %h1 Listing roles

.table-responsive
  %table.table.table-striped.table-bordered.table-hover
    %thead
      %tr
        %th Identifier
        %th Name
        %th
        %th
        %th

    %tbody
      - @roles.each do |role|
        %tr
          %td= role.identifier
          %td= role.name
          %td= link_to 'Show', role
          %td= link_to 'Edit', edit_role_path(role)
          %td= link_to 'Destroy', role, data: { confirm: 'Are you sure?' }, method: :delete

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sc_core-0.0.7 app/views/sc_core/roles/index.html.haml