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
2013-04-08 17:13:51 +01:00

6 lines
240 B
Plaintext

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