negos_app/app/views/admin/particulars/_form.html.haml
2017-09-27 12:06:13 +02:00

19 lines
795 B
Plaintext

-if f.object.particular_type?
%h4=f.object.particular_type
=f.hidden_field :particular_type
=f.hidden_field :skip_validation, :class => "skip_validation"
=f.input :name, :label => "Nom de famille"
=f.input :firstname, :label => "Prénom"
=f.input :pro, :label => "Organisation ?"
=f.input :organisation, :label => "Organisation"
=f.input :address_1, :label => "Adresse 1"
=f.input :address_2, :label => "Adresse 2"
=f.input :address_3, :label => "Adresse 3"
=f.input :address_4, :label => "Adresse 4"
=f.input :address_5, :label => "Adresse 5"
=f.input :cp, :label => "Code postal"
=f.input :city, :label => "Ville"
=f.input :country, :label => "Pays", :priority_countries => ["FR", "CH", "BE"], :include_blank => true
=f.input :email, :label => "Email"
=f.input :tel, :label => "Téléphone"