This commit is contained in:
Nicolas Bally 2020-02-29 15:21:45 +01:00
parent a46d75601b
commit 07c5cddb75
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
Merci !
-if @m_odr.thank_text?
=@m_odr.thank_text
=simple_format @m_odr.thank_text
-else
%p
Merci pour votre participation

View File

@ -118,10 +118,10 @@
%h3 Votre achat
=f.inputs do
=f.input :qte, :label => "Pneu :", :as => :select, :collection => f.object.m_odr.m_odr_products.order("m_odr_brand_id ASC, m_odr_products.name"), :member_label => :member_label, :include_blank => true
=f.input :m_odr_product_id, :label => "Pneu :", :as => :select, :collection => f.object.m_odr.m_odr_products.order("m_odr_brand_id ASC, m_odr_products.name"), :member_label => :member_label, :include_blank => true
=f.inputs do
=f.input :m_odr_product_id, :label => "Nombre de pneus :", :as => :select, :collection => [1,2], :include_blank => true
=f.input :qte, :label => "Nombre de pneus :", :as => :select, :collection => [1,2], :include_blank => true
=f.inputs do
=f.input :m_odr_place, :label => "Point de vente :", :as => :select, :collection => f.object.m_odr.m_odr_places.order(:name), :include_blank => true