.white_block.pad
  %h1 Fiche étudiant
  .row
    
    .col-md-2
      =image_tag (@user.avatar? ? @user.avatar.square.url : ""), :class => "avatar", :style => "width:100%; border-radius:50%;"
      .clear
      %br
    .col-md-10
      %br
      %p  
        =@user.firstname
        =@user.name
      
      -if @user.country? or @user.cp? or @user.city
        %p
          =@user.cp
          =@user.city
          -if @user.country
            ="-"
            =@user.country
    
      -if @user.show_email and @user.email?
        %p
          =link_to @user.email, "mailto:#{@user.email}"
    
      -if @user.show_tel and @user.tel?
        =@user.tel
    

 
      

      -if @user.bio
        %hr
        =simple_format @user.bio
        %hr