Sha256: 0063656d41bdadb602bb898cac0ebb2fa423446e15ac5910312d79e540e5caf8
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
- provide(:title, "Images (admin)") .table-responsive table.table.table-striped thead tr th Image th Label th Created at th colspan="2" tbody - @images.each do |image| tr td = image_tag attachment_url(image, :image_file, :fill, 50, 50) td = link_to image.label, admin_image_path(image) td = image.created_at.strftime(Bigmouth.config.datetime_format) td = link_to "Show", admin_image_path(image) td = link_to "Edit", edit_admin_image_path(image), class: "btn btn-primary btn-xs" td = link_to "Destroy", admin_image_path(image), method: :delete, data: { confirm: "Are you absolutely sure you want to delete <strong>#{image.label}</strong>?", "verify" => image.label, "verify-text" => " This action cannot be undone. Please type in the name of the image to confirm.", }, label: "Verify the deletion", class: "btn btn-danger btn-xs" = link_to 'New Image', new_admin_image_path, class: "btn btn-default"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigmouth-0.0.2 | app/views/bigmouth/admin/images/index.html.slim |