Sha256: 7d9fa0cfc05d6b2e0e321d506ac595d9152f572b8a55b550a1550828fa7525ea

Contents?: true

Size: 778 Bytes

Versions: 8

Compression:

Stored size: 778 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-primary'
          = link_to 'Destroy', cms_fortress_user, method: :delete, data: { confirm: 'Are you sure?' }, :class => 'btn btn-small btn-danger'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cms-fortress-1.1.3 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.1.2 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.1.1 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.1.0 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.0.12 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.0.9 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.0.8 app/views/cms/fortress/users/index.html.haml
cms-fortress-1.0.7 app/views/cms/fortress/users/index.html.haml