Sha256: f54b4e3b9c2caf3fa5158dd875d010a33d20577c43dbe22a21ee23480247f9be
Contents?: true
Size: 817 Bytes
Versions: 13
Compression:
Stored size: 817 Bytes
Contents
- classified = classified_wizard.classified %table.table.table-sm %tbody %tr %th.border-0 Posting %td.border-0 - if classified&.published? = link_to(classified, effective_classifieds.classified_path(classified), target: '_blank') - else = classified.presence || 'Posting was deleted' - if request.path.start_with?('/admin') %tr %th Owner %td - url = (polymorphic_admin_path(classified_wizard.owner) rescue "/admin/users/#{classified_wizard.owner.to_param}/edit") = link_to(classified_wizard.owner, url) - else %tr %th Owner %td= classified_wizard.owner - if classified&.was_submitted? %tr %th Status %td %span.badge.badge-secondary= classified.status
Version data entries
13 entries across 13 versions & 1 rubygems