more styling
parent
6f8ae39422
commit
1956ea03be
|
@ -15,6 +15,7 @@
|
|||
- @photos.each do |photo|
|
||||
%div.moderate_box{ :id => "photo_#{photo.id}" }
|
||||
%img{ :src => photo_url(photo, 300, 300) }
|
||||
%p
|
||||
%a{ :href => '#', :onclick => "new Ajax.Request('#{url(:approve_photo, photo)}', { method: 'get', onSuccess: function() { new Effect.DropOut($('photo_#{photo.id}')); } }); return false;" } Approve
|
||||
|
|
||||
== #{photo.photo_flags_count} Flags
|
||||
|
|
Reference in New Issue