1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
danbarberphoto/app/views/admin/photos/_photo.html.haml
2014-03-07 13:07:53 +00:00

6 lines
238 B
Plaintext

.photo
= link_to image_tag(photo.image.admin.url, :title => photo.title), photo.image.url
.actions
= link_to 'Edit', edit_admin_photo_path(photo)
= link_to 'Destroy', [:admin, photo], confirm: 'Are you sure?', method: :delete