Sha256: 267a72c1243d99a14971c1b1b4042376202dd433627ea11bc159ad3bcd5fb278

Contents?: true

Size: 772 Bytes

Versions: 10

Compression:

Stored size: 772 Bytes

Contents

= render 'layout' do
  .resource-buttons
    = link_to "Submit New #{et(Effective::Classified)}", effective_classifieds.new_classified_wizard_path, class: 'btn btn-primary'

  - if @classifieds.present?
    .table-responsive
      %table.table.table-striped.table-hover
        %tr
          %th.col-date Published
          %th.col-date.d-none.d-md-table-cell Closing
          %th Title
          %th.d-none.d-md-table-cell Location

        = render @classifieds

    .resource-buttons
      = link_to "Submit New #{et(Effective::Classified)}", effective_classifieds.new_classified_wizard_path, class: 'btn btn-primary'

  - else
    = card class: 'mt-5' do
      %p.text-center There are no active #{etsd(Effective::Classified)}. When there are, we'll show them here.

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_classifieds-0.8.1 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.8.0 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.7.0 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.6.7 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.6.6 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.6.5 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.6.4 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.6.3 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.6.2 app/views/effective/classifieds/index.html.haml
effective_classifieds-0.6.1 app/views/effective/classifieds/index.html.haml