
%p{:style => "margin-top:15px;font-size:1.2em;"}
  %strong
    =@contact.raison_text
    

%table
  %tr
    %td Civilité
    %td=@contact.civilite
  %tr
    %td Nom
    %td=@contact.name
  %tr
    %td Prénom
    %td=@contact.firstname
  %tr
    %td Adresse
    %td=@contact.address
  %tr
    %td Code postal
    %td=@contact.cp
  %tr
    %td Ville
    %td=@contact.city
  %tr
    %td Pays
    %td=@contact.country
  %tr
    %td Email
    %td=@contact.email
  %tr
    %td Téléphone
    %td=@contact.phone
  -if @contact.raison_text?
    %tr
      %td Raison de contact :
      %td
        =@contact.raison_text
        
  -if @contact.objet?
    %tr
      %td Oblet du contact :
      %td
        =@contact.objet
%hr
=simple_format @contact.message
%hr

.row
  -@contact.document_orders.each do |document_order|
    -data_file = document_order.data_file
    -if data_file.image_file
   
      .data_file#data_file{:id => data_file.token}
        =image_tag "https://karim.quartz.xyz"+data_file.image_file.file.large.medium.small.thumb.url.to_s

        =data_file.title
        %br
        Quantité :
        =document_order.qte
        %br
        %br
        .clear{:style => "clear:both;"}
   
        
:scss
  .data_file{
    img{
      float:left;
      width:70px;
      margin-right:5px;
      
    }
    margin-bottom:10px;
  }
