= semantic_form_for [:student, @user] do |f| 

  =render :partial => "form_min", :locals => {:f => f}
  
  .row
    .col-md-4
      = f.input :tel, :label => "Téléphone"
    .col-md-4
      = f.input :show_tel, :label => "Permettre aux étudiants de voir mon numéro ?" if f.object.id
  
  .row
    .col-md-4
      = f.input :address, :label => "Adresse"
    .col-md-4
      = f.input :address2, :label => "Adresse (suite)"
    .col-md-4
  .row
    .col-md-4
      = f.input :cp, :label => "Code postal"
    .col-md-4
      = f.input :city, :label => "Ville"
    .col-md-4
      = f.input :country, :label => "Pays", :as => :string
    
  
  
  
  =f.inputs do 
   
    = f.input :bio, :label => "Présentation"
    
    
    
    
    
   
    
    
  %br
  =f.submit "Sauvegarder", :class => "btn btn-primary"
      
  