Sha256: ff362ff3fe710c97768c43a63aa3b7ed1b14f26c10135a7f3c70fffb626febb8

Contents?: true

Size: 999 Bytes

Versions: 3

Compression:

Stored size: 999 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.organization_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

3 entries across 3 versions & 1 rubygems

Version Path
dune-admin-1.2.7 app/views/dune/admin/contacts/index.html.slim
dune-admin-1.2.6 app/views/dune/admin/contacts/index.html.slim
dune-admin-1.2.5 app/views/dune/admin/contacts/index.html.slim