17 lines
838 B
Plaintext
17 lines
838 B
Plaintext
= f.input :address, :label => "Adresse"
|
|
= f.input :address2, :label => "Adresse (suite)"
|
|
= f.input :cp, :label => "Code postal"
|
|
= f.input :city, :label => "Ville"
|
|
-if @product_customer.id and ProductCustomer.find(@product_customer.id).country?
|
|
%strong Pays :
|
|
=@product_customer.country
|
|
%br
|
|
(pour modifier votre pays merci de contacter le support : support@sideplace.com)
|
|
-else
|
|
-f.object.country = "France" if !f.object.country? and f.object.force_address?
|
|
=# f.input :country, :label => "Pays", :as => :select, :include_blank => (@product_customer.force_address? ? false : true), :collection => ProductCustomer::COUNTRY_ORDER.sort
|
|
|
|
= f.input :country, :label => "Pays", :locale => 'fr', :priority_countries => ["FR", "CH", "BE", "US", "GB", "CA"], :include_blank => (@product_customer.force_address? ? false : true)
|
|
|
|
|