Sha256: f2af1b1a2750576a7878f9723bab9889b2a5b48f7c670c6f01debf1fc32e17d9

Contents?: true

Size: 777 Bytes

Versions: 5

Compression:

Stored size: 777 Bytes

Contents

.page-header
  = link_to t('cms.fortress.users.new_link'), new_cms_fortress_user_path, :class => 'btn pull-right'
  %h2= t('cms.fortress.users.title')

%table.table.table-hover.table-bordered
  %tr
    %th Lastname
    %th Firstname
    %th Email
    %th Role
    %th


  - @cms_fortress_users.each do |cms_fortress_user|
    %tr
      %td= cms_fortress_user.last_name
      %td= cms_fortress_user.first_name
      %td= cms_fortress_user.email
      %td= cms_fortress_user.role.name
      %td
        .btn-group.pull-right
          = link_to 'Edit', edit_cms_fortress_user_path(cms_fortress_user), :class => 'btn btn-small btn-default'
          = link_to 'Delete', cms_fortress_user, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-small btn-danger'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cms-fortress-1.1.8 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.1.7 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.1.6 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.1.5 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.1.4 app/views/cms/fortress/users/index.html.haml