fix
This commit is contained in:
parent
ec88e75865
commit
c3b3419754
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
%>
|
||||
|
||||
<div class="card card-secondary">
|
||||
<div class="card-header">
|
||||
<h4 class="card-title w-100">
|
||||
|
|
@ -116,16 +116,17 @@
|
|||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<label for="ammount_price">Minimalna wartość</label>
|
||||
<%= 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ść')
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="ammount_price">lub wybierz z listy</label>
|
||||
<%= 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()"
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue