From c3b34197547d4848323091fb9a6c137fc4ebcec4 Mon Sep 17 00:00:00 2001 From: Adrian Hinz Date: Wed, 4 May 2022 22:04:32 +0200 Subject: [PATCH] fix --- app/controllers/home_controller.rb | 8 ++++---- app/views/home/_filter_form.html.erb | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 96efd8f..af5909c 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -7,10 +7,10 @@ class HomeController < ApplicationController include HomeHelper def check_status - if defined?(current_user) && user_signed_in? - else - redirect_to '/construction.html' - end + # if defined?(current_user) && user_signed_in? + # else + # redirect_to '/construction.html' + # end end def index diff --git a/app/views/home/_filter_form.html.erb b/app/views/home/_filter_form.html.erb index b0707a2..fca067d 100644 --- a/app/views/home/_filter_form.html.erb +++ b/app/views/home/_filter_form.html.erb @@ -103,7 +103,7 @@ - %> +

@@ -116,16 +116,17 @@
- <%= number_field_tag(:ammount_price, params[:ammount_price], class: 'form-control', placeholder: 'Wpisz tu wartość') %> + <%= number_field_tag(:ammount_price, params[:ammount_price], class: 'form-control', placeholder: 'Wpisz tu wartość')
- <%= select_tag "ammount_chk", options_for_select(Dotation::AMMOUNT_ON_PROJECT_HASH, params[:ammount_chk]), class: 'form-control', onchange: "formSubmit()" %> + <%= select_tag "ammount_chk", options_for_select(Dotation::AMMOUNT_ON_PROJECT_HASH, params[:ammount_chk]), class: 'form-control', onchange: "formSubmit()"

+ %>