Sha256: ee24a84a3b11a90be4be0f14332862fc4cdf32bfa1b5cf197a46aced9d6b6f7b

Contents?: true

Size: 994 Bytes

Versions: 5

Compression:

Stored size: 994 Bytes

Contents

- @title = t('.title')
.admin
  .row
    = render 'dune/admin/layouts/menu'
    section.content.large-12.columns
      .data-table
        = paginate collection
        - if collection.empty?
          = t('.no_records')
        - else
          table
            thead
              tr
                th = t('.first_name')
                th = t('.last_name')
                th = t('.company_name')
                th = t('.email_address')
                th = t('.created_at')
                th
            tbody
              - collection.each do |contact|
                tr id=contact.id
                  td = contact.first_name
                  td = contact.last_name
                  td = contact.company_name
                  td = contact.email
                  td = l contact.created_at, format: :long
                  td
                    .text-right
                      = link_to t('.details'), contact_path(contact), class: 'button tiny'

        = paginate collection

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dune-admin-1.2.4 app/views/dune/admin/contacts/index.html.slim
dune-admin-1.2.3 app/views/dune/admin/contacts/index.html.slim
dune-admin-1.0.0 app/views/dune/admin/contacts/index.html.slim
dune-admin-1.2.1 app/views/dune/admin/contacts/index.html.slim
dune-admin-1.2.0 app/views/dune/admin/contacts/index.html.slim