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