Sha256: d2ad59706ead816d8dac636e9737b57e82ceeed7934bd97931dd9a2e976fa515
Contents?: true
Size: 521 Bytes
Versions: 10
Compression:
Stored size: 521 Bytes
Contents
h1 Listing all Announcements = authz_link_to 'Create New Announcement', new_announcement_path, { class: 'button' }, skip_scoping: true table thead tr th id th Created At th Body th Available Cities th tbody - @announcements.each do |ann| tr td = ann.id td = ann.created_at.to_date td = ann.body td = available_cities_name(ann) td = authz_link_to 'Destroy', ann, { data: { confirm: 'Are you sure?' }, method: :delete }, using: ann
Version data entries
10 entries across 10 versions & 1 rubygems