-annonce_photo = refused
#annonce_photo.annonce_photo{:id => annonce_photo}
  =image_tag annonce_photo.file.medium.thumb.url
  -if annonce_photo.modo_id
    Raison :
    %strong
      =AnnoncePhoto::MODO[annonce_photo.modo_id]
  
  =link_to "Mettre à jour les photos de mon annonce", edit_public_annonce_path(annonce_photo.annonce, :anchor => "photos"), :class => "btn btn-primary"