diff --git a/app/controllers/public/orders_controller.rb b/app/controllers/public/orders_controller.rb index 0fd062f..d079c20 100644 --- a/app/controllers/public/orders_controller.rb +++ b/app/controllers/public/orders_controller.rb @@ -6,7 +6,7 @@ class Public::OrdersController < ApplicationController skip_before_filter :verify_authenticity_token, :only => [:ipn] def new - @order = Order.new + @order = Order.new(:country => "France") end diff --git a/app/views/public/orders/new.html.haml b/app/views/public/orders/new.html.haml index 1f9ba56..9d0f296 100644 --- a/app/views/public/orders/new.html.haml +++ b/app/views/public/orders/new.html.haml @@ -50,7 +50,7 @@ =f.input :postal_code, :label => "Code Postal :" =f.input :cityname, :label => "Ville :" - =f.input :country, :label => "Pays :", :collection => [["France","FR"], ["Suisse","CH"], ["Espagne","ES"], ["Italie","IT"]], :as => :select, :include_blank => false + =f.input :country, :label => "Pays :" #legals %h3=# CONDITIONS GENERALES DE VENTE