show the user that uploaded the image, too
parent
6af005cf94
commit
0d5100984e
|
@ -19,4 +19,6 @@
|
|||
|
|
||||
== #{photo.photo_flags_count} Flags
|
||||
|
|
||||
== #{photo.user.user_name rescue 'Unknown'}
|
||||
|
|
||||
%a{ :href => '#', :onclick => "if(confirm('Are you sure you want to destroy this photo?')){ new Ajax.Request('#{url(:photo, photo)}', { method: 'delete', onSuccess: function() { new Effect.DropOut($('photo_#{photo.id}')); } }); return false; }" } Destroy
|
||||
|
|
Reference in New Issue