Sha256: 6b32ac7fefbac0083d87479f4f777fb6b7f80468ad849ed96c1288c05c13e636

Contents?: true

Size: 1.06 KB

Versions: 7

Compression:

Stored size: 1.06 KB

Contents

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

%div.container-fluid.back
  = link_to 'New Account', new_admin_account_path, class: 'btn btn-default'
  %table.table
    %thead
      %tr
        %th Account Name
        %th Site Name
        %th Email
        %th Web Address
        %th Mount Location
        %th Number of Pages
        %th Actions
    - @accounts.each do |account|
      %tr
        %td
          = account.name
        %td
          = account.site_name
        %td
          = account.email
        %td
          = account.web_address
        %td
          = account.mount_location
        %td
          = account.pages.count
        %td
          = link_to 'Edit', edit_admin_account_path(account), class: 'btn btn-xs btn-default'
          = link_to 'Switch To', admin_accounts_site_path(account: account.id), method: :post, 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

7 entries across 7 versions & 1 rubygems

Version Path
pages_cms-2.2.3 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.2.2 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.2.1 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.1.1 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.1.0 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.0.1 app/views/pages_cms/admin/accounts/index.html.haml
pages_cms-2.0.0 app/views/pages_cms/admin/accounts/index.html.haml