Sha256: 44dfb8c0f1c405374ff9a379096beae23e59a82e159077cffadf58500db40cd5

Contents?: true

Size: 834 Bytes

Versions: 2

Compression:

Stored size: 834 Bytes

Contents

.table-container.table-form
  %table.table
    %tr
      %th Naam
      %td= @inquiry.name
    %tr
      %th Email
      %td= @inquiry.email
    %tr
      %th Telefoon
      %td= @inquiry.phone
    %tr
      %td
      %td= simple_format @inquiry.message

.pull-right
  - unless @inquiry.archived?
    = link_to "Bericht markeren als gelezen", spina.mark_as_read_admin_inquiry_path(@inquiry), method: :patch, class: 'button', data: {icon: 'k'}

  - if @inquiry.spam
    = link_to "Geen spam", spina.unmark_spam_admin_inquiry_path(@inquiry), method: :patch, class: 'button', data: {icon: 'v'}

  = link_to "Verwijderen", spina.admin_inquiry_path(@inquiry), method: :delete, class: 'button button-danger button-link', data: {confirm: "Weet je zeker dat je het bericht van <strong>#{@inquiry.name}</strong> definitief wilt verwijderen?"}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spina-0.6.12 app/views/spina/admin/inquiries/show.html.haml
spina-0.6.11 app/views/spina/admin/inquiries/show.html.haml