|
9 | 9 | .clearfix.mb2.md-show
|
10 | 10 | .col.sm-col-11.py2
|
11 | 11 | =form_tag jobs_path, method: :get do
|
12 |
| - = text_field_tag :q, params[:q], placeholder: 'Search great jobs by Location, Title, or Company', class: 'field col-6' |
| 12 | + = text_field_tag :q, params[:q], placeholder: 'Search great jobs by Location, Title, or Company', class: 'field col-5' |
13 | 13 | .col-1.inline.ml1
|
14 |
| - = check_box_tag :show_fulltime, true, params[:show_fulltime] |
15 |
| - = label_tag :show_fulltime, 'Full Time' |
16 |
| - = check_box_tag :show_contract, true, params[:show_contract] |
17 |
| - = label_tag :show_contract, 'Contracting' |
18 |
| - = check_box_tag :show_remote, true, params[:show_remote] |
19 |
| - = label_tag :show_remote, 'Remote' |
| 14 | + = hidden_field_tag :show_fulltime, false, id: nil |
| 15 | + = check_box_tag :show_fulltime, true, params[:show_fulltime] == 'true' |
| 16 | + = label_tag :show_fulltime, 'Full Time' |
| 17 | + |
| 18 | + = hidden_field_tag :show_parttime, false, id: nil |
| 19 | + = check_box_tag :show_parttime, true, params[:show_parttime] == 'true' |
| 20 | + = label_tag :show_parttime, 'Part Time' |
| 21 | + |
| 22 | + = hidden_field_tag :show_contract, false, id: nil |
| 23 | + = check_box_tag :show_contract, true, params[:show_contract] == 'true' |
| 24 | + = label_tag :show_contract, 'Contracting' |
| 25 | + |
| 26 | + = hidden_field_tag :show_remote, false, id: nil |
| 27 | + = check_box_tag :show_remote, true, params[:show_remote] == 'true' |
| 28 | + = label_tag :show_remote, 'Remote jobs' |
20 | 29 | .col-1.inline.ml1
|
21 | 30 | %button.btn.bg-purple.white.rounded{type: 'submit'}= icon('search')
|
22 | 31 | .col.sm-col-1
|
|
0 commit comments