Sha256: c5a160740779bb598634308ba32b04ea6c05dce5e188b347d37808dcdc53c200

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

<br />
= render 'pages_cms/admin/shared/tabs', active: 'Accounts'

%div.container-fluid.back
  %div.content
    <br />
    = link_to 'New Account', new_admin_account_path, class: 'btn btn-default'
    <br />
    <br />

    %table.table
      %thead
        %tr
          %th #
          %th Name
          %th Site Name
          %th Mount Location
          %th Actions
      - @accounts.each do |account|
        %tr
          %td
            = account.id
          %td
            = account.name
          %td
            = account.site_name
          %td
            = account.mount_location
          %td
            = link_to 'Switch To', admin_accounts_site_path(account: account.id), method: :post, class: 'btn btn-xs btn-primary'
            = link_to 'Edit', edit_admin_account_path(account), class: 'btn btn-xs btn-default'
            = link_to 'Delete', admin_account_path(account), method: :delete, class: 'btn btn-xs btn-default', data: { confirm: 'This will delete all pages, emails, images and more associated.' }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pages_cms-2.4.2 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.3.2 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.3.1 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.3.0 app/views/pages_cms/admin/accounts/index.html.haml