=semantic_form_for [:admin, @circuit], :remote => true do |f| .content =f.inputs do = f.input :name, :label => "Nom :" = f.input :website, :label => "Site web :" = f.input :description, :label => "Description :" = f.input :person_civilite, :label => "Civilité :" = f.input :person_name, :label => "Nom :" = f.input :person_firstname, :label => "Prénom :" = f.input :person_fonction, :label => "Fonction :" = f.input :email, :label => "Email :" = f.input :email2, :label => "Email 2 :" = f.input :tel, :label => "Tel :" = f.input :portable, :label => "Portable :" = f.input :address2, :label => "Adresse :" = f.input :address3, :label => "Adresse suite :" = f.input :cp, :label => "Code postal :" = f.input :city, :label => "Ville:" = f.input :country, :label => "Pays :" = f.input :longueur, :label => "Longueur :" = f.input :largeur, :label => "Largeur :" = f.input :nbr_courbes, :label => "Nbr courbes :" = f.input :longueur_ligne, :label => "Longueur ligne :" = f.input :facebook, :label => "Facebook :" .actions=f.submit "sauvegarder", :class => "btn btn-primary"