60 lines
2.3 KiB
Plaintext
60 lines
2.3 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
|
|
|
|
=render :partial => "admin/shared/social_form", :locals => {:f => f}
|
|
|
|
|
|
|
|
|
|
.large_actions
|
|
.actions
|
|
=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|