Sha256: 3f2eff2d6b390d5e282319dd492ffc4ee13f7d7ba6b957674ef1bf96659890e5

Contents?: true

Size: 876 Bytes

Versions: 6

Compression:

Stored size: 876 Bytes

Contents

- @title = t('.title')
.admin
  .row
    = render 'dune/admin/layouts/menu'
    section.content.large-12.columns
      h2 = @title
      p
        i = t('.created_at', date: l(resource.created_at, format: :long))

      strong = "#{t('.first_name')}: "
      p = resource.first_name

      strong = "#{t('.last_name')}: "
      p = resource.last_name

      strong = "#{t('.email')}: "
      p = resource.email

      - if resource.phone.present?
        strong = "#{t('.phone')}: "
        p = resource.phone

      strong = "#{t('.company_name')}: "
      p = resource.company_name

      - if resource.company_website.present?
        strong = "#{t('.company_website')}: "
        p = resource.company_website

      - if resource.message.present?
        strong = "#{t('.message')}: "
        p = resource.message
      
      = link_to t('.back'), :back, class: 'button'

Version data entries

6 entries across 6 versions & 1 rubygems

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