sadem_app/app/views/admin/m_odrs/_form.html.haml
Nicolas Bally 64e75f2a21 suite
2020-02-25 11:01:45 +01:00

39 lines
1.5 KiB
Plaintext

=semantic_form_for [:admin, @m_odr], :remote => true do |f|
.content
=f.inputs do
= f.input :p_customer, :label => "Client :"
= f.input :name, :label => "Nom de l'ODR :"
= f.input :slug, :label => "Permalien :"
= f.input :description, :label => "Description :" , :as => :text
= f.input :landing_text, :label => "Texte lancement :"
= f.input :start_at, :label => "Date de début :" , :as => :date
= f.input :end_at, :label => "Date de fin :" , :as => :date
= f.input :public_end, :label => "Date de fin des envois :" , :as => :date
= f.input :address_process, :label => "Récupération de l'adresse postale ?"
= f.input :rib_process, :label => "Récupération d'un RIB ?"
= f.input :email_needed, :label => "Récupération de l'email ?"
= f.input :tel_needed, :label => "Récupération du tel ?"
= f.input :logo_image_file_id, :label => "Logo :" , :as => :qi_image_select
= f.input :logo_image_file_width, :label => "Largeur du logo (px):"
= f.input :banner_image_file_id, :label => "Bannière :" , :as => :qi_image_select
= f.input :banner_image_file_width, :label => "Largeur de la bannière (px):"
= f.input :background_image_file_id, :label => "Fond :" , :as => :qi_image_select
=render :partial => "admin/shared/social_form", :locals => {:f => f}
.actions=f.submit "sauvegarder", :class => "btn btn-primary"