Sha256: 117103ff60ceeb40bef7280e9fde167ec36c9af9fc302411b238cfbce4ae2552
Contents?: true
Size: 1.26 KB
Versions: 19
Compression:
Stored size: 1.26 KB
Contents
.page-header - unless @super_user = link_to t('cms.fortress.users.new_link'), new_cms_fortress_user_path, :class => 'btn btn-primary btn-sm pull-right' - else = link_to t('cms.fortress.users.new_super_link'), super_new_cms_fortress_users_path, :class => 'btn btn-primary btn-sm pull-right' %h3 - unless @super_user = t('cms.fortress.users.title') - else = t('cms.fortress.admin.super_user.title') %table.table.table-hover.table-bordered %tr %th= t('cms.fortress.users.last_name') %th= t('cms.fortress.users.first_name') %th= t('cms.fortress.users.email') - unless @super_user %th= t('cms.fortress.users.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 - unless @super_user - if cms_fortress_user.role %td= cms_fortress_user.role.name %td .btn-group.pull-right = link_to t('cms.fortress.edit'), edit_cms_fortress_user_path(cms_fortress_user), :class => 'btn btn-sm btn-default' = link_to t('cms.fortress.delete'), cms_fortress_user, method: :delete, data: { confirm: t('cms.fortress.are_you_sure') }, :class => 'btn btn-sm btn-danger'
Version data entries
19 entries across 19 versions & 1 rubygems