Sha256: be6199b25ce004cc5464106bb6aa6a3783b3e5773fceee7ce04e380240255754

Contents?: true

Size: 1.02 KB

Versions: 14

Compression:

Stored size: 1.02 KB

Contents

%table.table.effective-classified-table
  %tbody
    %tr
      %th Category
      %td= classified.category

    %tr
      %th Title
      %td= classified.title

    %tr
      %th Available
      %td
        #{classified.start_on&.strftime('%F')}
        to
        #{classified.end_on&.strftime('%F')}

    - if classified.location.present?
      %tr
        %th Location
        %td= classified.location

    %tr
      %th Description
      %td= classified.body.to_s

    - if classified.file.attached?
      %tr
        %th Attachment
        %td= link_to(classified.file.filename, main_app.url_for(classified.file), target: '_blank')

    %tr
      %th Company
      %td= classified.organization

    - if classified.website.present?
      %tr
        %th Website
        %td= link_to(classified.website, classified.website, target: '_blank')

    - if classified.email.present?
      %tr
        %th Email
        %td= mail_to(classified.email)

    - if classified.phone.present?
      %tr
        %th Phone
        %td= classified.phone

Version data entries

14 entries across 13 versions & 1 rubygems

Version Path
effective_classifieds-0.4.13 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.12 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.11 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.10 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.9 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.8 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.7 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.6 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.5 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.4 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.3 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.2 app/views/effective/classifieds/_summary.html.haml
effective_classifieds-0.4.1 app/views/effective/classifieds/_classified.html.haml
effective_classifieds-0.4.1 app/views/effective/classifieds/_summary.html.haml