mmsc_app/app/views/admin/circuits/_form.html.haml
Nicolas Bally 44f57de50e suite url
2020-06-29 11:34:40 +02:00

38 lines
1.5 KiB
Plaintext

=semantic_form_for [:admin, @circuit], :remote => true do |f|
.content
=f.inputs do
= f.input :logo_id, :label => "Logo :", :as => :qi_image_select
= f.input :image_file_id, :label => "Image :" , :as => :qi_image_select
= f.input :circuit_region, :label => "Région :"
= f.input :name, :label => "Nom :"
= f.input :slug, :label => "Lien permanent :"
= 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"