144 lines
4.9 KiB
Plaintext
144 lines
4.9 KiB
Plaintext
=semantic_form_for [:admin, @m_odr], :remote => false do |f|
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
=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 :"
|
|
|
|
.row.qi_cancel_margins
|
|
.col-sm-4
|
|
= f.input :start_at, :label => "Date de début :" , :as => :date
|
|
.col-sm-4
|
|
= f.input :end_at, :label => "Date de fin :" , :as => :date
|
|
.col-sm-4
|
|
= f.input :public_end, :label => "Date de fin des envois :" , :as => :date
|
|
|
|
.row.qi_cancel_margins
|
|
.col-sm-3
|
|
= f.input :address_process, :label => "Récupération de l'adresse postale ?"
|
|
.col-sm-3
|
|
= f.input :rib_process, :label => "Récupération d'un RIB ?"
|
|
.col-sm-3
|
|
= f.input :email_needed, :label => "Récupération de l'email ?"
|
|
.col-sm-3
|
|
= f.input :tel_needed, :label => "Récupération du tel ?"
|
|
|
|
|
|
.row.qi_cancel_margins
|
|
.col-sm-3
|
|
= 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 :logo_image_link, :label => "Largeur du logo (px):"
|
|
.col-sm-3
|
|
= 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 :banner_image_link, :label => "Lien du footer :"
|
|
|
|
.col-sm-3
|
|
= f.input :footer_image_file_id, :label => "Footer :" , :as => :qi_image_select
|
|
= f.input :footer_image_width, :label => "Largeur du footer (px):"
|
|
= f.input :footer_image_link, :label => "Lien du footer :"
|
|
|
|
.col-sm-3
|
|
= f.input :background_image_file_id, :label => "Fond :" , :as => :qi_image_select
|
|
|
|
= f.input :conditions, :label => "Conditions indiquées en footer :"
|
|
|
|
= f.input :thank_title, :label => "Titre remerciement"
|
|
|
|
= f.input :thank_text, :label => "Texte remerciement"
|
|
|
|
=render :partial => "admin/shared/social_form", :locals => {:f => f}
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
Infos pour les virements :
|
|
%hr
|
|
= f.input :iban, :label => "Iban :"
|
|
= f.input :bic, :label => "Bic :"
|
|
= f.input :bank_name, :label => "Nom du propriétaire du compte :"
|
|
= f.input :bank_subject, :label => "Libellé virement :"
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
Fichiers demandés :
|
|
%hr
|
|
|
|
.m_odr_file_types_form
|
|
=f.semantic_fields_for :m_odr_file_types do |form|
|
|
=render :partial => "admin/m_odr_file_types/form", :locals => {:form => form}
|
|
|
|
%p= link_to_add_fields ic(:plus)+" Ajouter un fichier demandé", f, :m_odr_file_types
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
Marques concernées :
|
|
%hr
|
|
|
|
.m_odr_brands_form
|
|
=f.semantic_fields_for :m_odr_brands do |form|
|
|
=render :partial => "admin/m_odr_brands/form", :locals => {:form => form}
|
|
|
|
%p= link_to_add_fields ic(:plus)+" Ajouter ue marque", f, :m_odr_brands
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
Produits concernés :
|
|
%hr
|
|
|
|
.m_odr_products_form
|
|
=f.semantic_fields_for :m_odr_products do |form|
|
|
=render :partial => "admin/m_odr_products/form", :locals => {:form => form}
|
|
|
|
%p= link_to_add_fields ic(:plus)+" Ajouter un produit", f, :m_odr_products
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
Points de ventes :
|
|
%hr
|
|
|
|
.m_odr_places_form
|
|
=f.semantic_fields_for :m_odr_places do |form|
|
|
=render :partial => "admin/m_odr_places/form", :locals => {:form => form}
|
|
|
|
%p= link_to_add_fields ic(:plus)+" Ajouter un point de vente", f, :m_odr_places
|
|
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
Trackers :
|
|
%hr
|
|
|
|
.m_odr_trackers_form
|
|
=f.semantic_fields_for :m_odr_trackers do |form|
|
|
=render :partial => "admin/m_odr_trackers/form", :locals => {:form => form}
|
|
|
|
%p= link_to_add_fields ic(:plus)+" Ajouter un tracker", f, :m_odr_trackers
|
|
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
|
|
= f.input :email_from, :label => "Email d'envoi :"
|
|
|
|
Mails types :
|
|
%hr
|
|
|
|
.mail_types_form
|
|
=f.semantic_fields_for :mail_types do |form|
|
|
=render :partial => "admin/mail_types/form", :locals => {:form => form}
|
|
|
|
%p= link_to_add_fields ic(:plus)+" Ajouter un mail type", f, :mail_types
|
|
|
|
|
|
|
|
.large_actions
|
|
.actions
|
|
=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|