Commit b8c1c756 by Thai Ha

fixed style form select

parent 5aec5521
...@@ -14,18 +14,12 @@ ...@@ -14,18 +14,12 @@
.col-2 .col-2
= f.label :city, 'City' = f.label :city, 'City'
.col-10 .col-10
= f.select :city, @city, selected: params[:city], include_blank: 'Select city', class:"form-select bg-light h-100" = f.select :city, options_for_select(@city, selected: params[:city]), { include_blank: 'Select city' }, { class: 'form-select' }
/ = f.select :city, @city, {include_blank: 'Select city'}, {class: 'form-select bg-light h-100'}
/ =f.select :sex, %w{ Male Female }, :prompt => "Gender..."
.row.mb-2.form-group .row.mb-2.form-group
.col-2 .col-2
= f.label :industry, 'Industry', class: 'form-label' = f.label :industry, 'Industry', class: 'form-label'
.col-10 .col-10
= f.select :industry, @industry, selected: params[:industry], include_blank: 'Select industry', class:'form-select bg-light h-100' = f.select :industry, options_for_select(@industry, selected: params[:industry]), { include_blank: 'Select industry' }, { class:'form-select' }
.row.mb-2.form-group .row.mb-2.form-group
.col-6 .col-6
...@@ -45,10 +39,8 @@ ...@@ -45,10 +39,8 @@
= f.submit 'Search', name: 'search', class: 'btn btn-primary w-50 my-4 btn-height',data: { disable_with: false } = f.submit 'Search', name: 'search', class: 'btn btn-primary w-50 my-4 btn-height',data: { disable_with: false }
.col-6.d-flex.justify-content-center .col-6.d-flex.justify-content-center
= f.submit 'Export', name: 'csv',class: 'btn btn-primary w-50 my-4 btn-height',data: { disable_with: false } = f.submit 'Export', name: 'csv',class: 'btn btn-primary w-50 my-4 btn-height',data: { disable_with: false }
/ = link_to 'Export csv', admin_export_csv_path(format: :csv), class: 'btn btn-primary w-50 my-4 btn-height'
/result
.container .container
h2.my-5.text-center h2.my-5.text-center
| All applies jobs | All applies jobs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment