Sha256: b53e22076c959491a2e644f99a5ae1b92cd2cdb445af4bd5b63564a2705f482e

Contents?: true

Size: 775 Bytes

Versions: 16

Compression:

Stored size: 775 Bytes

Contents

%h1= t("cms.index_title", plural_name: @admins.first.model_name.human(count: 2))

.row-fluid.actions
  .pull-right.padded
    = link_to new_cms_admin_path, :class => 'btn btn-primary' do
      %i.icon-plus-sign.icon-white
      = t("cms.admin.new", plural_name: @admins.first.model_name.human, default: t('cms.default.new'))

%table.table.table-bordered.table-striped
  %thead
    %tr
      %th
      %th
      %th

  %tbody
    - @admins.each do |admin|
      %tr
        %td= admin.email
        %td= link_to t("cms.edit"), edit_cms_admin_path(admin)
        %td
          =link_to cms_admin_path(admin), method: :delete, data: { confirm: t('cms.are_you_sure') }, class: 'btn btn-small btn-danger' do
            %i.icon-trash.icon-white
            =t('cms.destroy')

%br

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.7 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.10 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.9 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.8 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.7 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.6 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.5 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.4 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.3 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.2 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.1 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.6.0 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.5.2 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.5.1 app/views/qbrick/cms/admins/index.html.haml
qbrick-2.5.0 app/views/qbrick/cms/admins/index.html.haml