-if realisation_image.image_file .realisation_image.image_square#realisation_image{:id => realisation_image.id, :data => { :title => realisation_image.title , :description => realisation_image.description, :id => realisation_image.id} } .img{:style => "background-image : url('#{realisation_image.image_file.file.large.medium.small.thumb.url}');"} .actions =link_to i(:"trash-o"), [:admin, realisation_image], :data => {:confirm => 'Voulez-vous vraiment supprimer cette image ?'}, :method => :delete, :remote => true =#link_to i(:pencil), edit_admin_realisation_image_path(realisation_image), :remote => true