52 lines
2.0 KiB
Plaintext
Executable File
52 lines
2.0 KiB
Plaintext
Executable File
|
|
|
|
|
|
=semantic_form_for [:admin, @customer] do |f|
|
|
.content
|
|
|
|
|
|
=f.inputs do
|
|
|
|
.row.qi_cancel_margins
|
|
.col-sm-6
|
|
=f.input :domains, :label => "Domaine : ", :collection => Domain.all, :as => :check_boxes
|
|
.col-sm-6
|
|
=f.input :reseauxes, :label => "Réseaux : ", :collection => Reseaux.all, :as => :check_boxes
|
|
|
|
=f.input :organisation, :label => "Société : "
|
|
|
|
=f.input :name, :label => "Nom : "
|
|
=f.input :firstname, :label => "Prénom : "
|
|
=f.input :email, :label => "Email : "
|
|
=f.input :phone, :label => "Tél : "
|
|
=f.input :password, :label => "Mot de passe : "
|
|
|
|
=#f.hidden_field :step2
|
|
=f.input :tva_number, :label => "Numéro de TVA intra. :"
|
|
=f.input :siret, :label => "Numéro de siret :"
|
|
=f.input :capital, :label => "Capital :"
|
|
=f.input :role_signataire, :label => "Fonction du signataire :"
|
|
= f.input :address, :label => "Adresse"
|
|
= f.input :address2, :label => "Adresse (suite)"
|
|
= f.input :cp, :label => "Code postal"
|
|
= f.input :city, :label => "Ville"
|
|
|
|
|
|
=#f.hidden_field :step3
|
|
|
|
=f.input :need_1, :label => "1er besoin : ",:as => :select, :collection => [ "Materiel professionnel", "Matériel informatique", "Achat de véhicules", "Energie"]
|
|
=f.input :need_2, :label => "2ième besoin : ",:as => :select, :collection => [ "Materiel professionnel", "Matériel informatique", "Achat de véhicules", "Energie"]
|
|
=f.input :need_3, :label => "3ième besoin : ", :placeholder => "Autre, précisez ",:rows => 5, :input_html => {:style => "height:100px;"}
|
|
|
|
=f.input :particulars_text, :label => "En-tête contrats : ",:rows => 5, :input_html => {:style => "height:100px;"}
|
|
|
|
|
|
|
|
|
|
=f.input :newsgroups, :label => "Newsletters :", :collection => Newsgroup.all, :as => :check_boxes
|
|
|
|
=f.input :referent, :label => "Possibilité d'être référent ?"
|
|
=f.input :chef_reseau, :label => "Possibilité d'être chef réseau ?"
|
|
|
|
.actions= f.submit "Sauvegarder", :class => "btn btn-primary"
|