diff --git a/app/assets/stylesheets/overview.css.scss b/app/assets/stylesheets/overview.css.scss index 62e4d98..37b2b72 100644 --- a/app/assets/stylesheets/overview.css.scss +++ b/app/assets/stylesheets/overview.css.scss @@ -19,3 +19,8 @@ width: 150px; } } + +.warning { + border: 2px solid; + margin-bottom: 20px; +} diff --git a/app/views/orders/new.html.haml b/app/views/orders/new.html.haml index a7c076b..3ec0ee0 100644 --- a/app/views/orders/new.html.haml +++ b/app/views/orders/new.html.haml @@ -40,4 +40,3 @@ %td.total_price.euro = f.submit "Order!", class: "btn btn-primary form-control" = render 'products_modal' -- p @order.errors diff --git a/app/views/orders/overview.html.haml b/app/views/orders/overview.html.haml index 6ce871b..28c453e 100644 --- a/app/views/orders/overview.html.haml +++ b/app/views/orders/overview.html.haml @@ -1,2 +1,4 @@ +.warning.center + %h1 TESTFASE | GELIEVE STREEPJES TE BLIJVEN ZETTEN | TESTFASE .row = render @users diff --git a/config/routes.rb b/config/routes.rb index 7cf5e89..1a978ba 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,7 +21,7 @@ Rails.application.routes.draw do resources :users, only: [:show, :edit, :update] do resources :orders, only: [:new, :create, :destroy] member do - get 'quickpay' => 'users#quickpay' + get 'quickpay' => 'users#quickpay' get 'dagschotel/edit' => 'users#edit_dagschotel', as: 'edit_dagschotel' get 'dagschotel/:product_id' => 'users#update_dagschotel', as: 'dagschotel' end