Sha256: 96bad0d9e21f822e8e3a614b7bc7c527f99502e63348def8ffbab3914b357ab1
Contents?: true
Size: 1.41 KB
Versions: 10
Compression:
Stored size: 1.41 KB
Contents
= render 'layout' do .effective-classified - unless @classified.published? .alert.alert-warning.mb-4 This #{etd(@classified)} is not published. .resource-buttons = link_to "Return to #{classifieds_name_label}", effective_classifieds.classifieds_path, class: 'btn btn-secondary' = card do .row .col-md %table.table.table-striped.table-hover.effective-table-summary %tr %th Position %td= @classified.title %tr %th Company %td= @classified.organization - if @classified.location.present? %tr %th Location %td= @classified.location .col-md %table.table.table-striped.table-hover.effective-table-summary %tr %th Published %td #{@classified.start_on&.strftime("%b %d, %Y")} %tr %th Closing %td #{@classified.end_on&.strftime("%b %d, %Y")} - if @classified.file.attached? %tr %th Attachment %td= link_to(@classified.file.filename, main_app.url_for(@classified.file), target: '_blank') .body.mt-4 = @classified.body.to_s .resource-buttons.mt-5.mb-4 = link_to "Return to #{classifieds_name_label}", effective_classifieds.classifieds_path, class: 'btn btn-secondary'
Version data entries
10 entries across 10 versions & 1 rubygems