Skip to content

Commit fa4d66e

Browse files
committed
Add remote filter into the jobs listing page
1 parent 941dc12 commit fa4d66e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/opportunities/index.html.haml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
Jobs
1818
%span= job_location_string(params[:location].titleize)
1919
%ul.location-drop-down.hide
20+
%li
21+
%a{ href: jobs_path(location: 'remote', skill: params[:skill]), class: "remote", 'data-action' => "view remote jobs", 'data-from' => 'jobs page', 'data-properties' => { 'location' => "Remote" }.to_json } Remote
2022
- @locations.each do |location|
2123
%li
2224
%a{ href: jobs_path(location: location.parameterize, skill: params[:skill]), class: location.downcase, 'data-action' => "view jobs in #{location.downcase}", 'data-from' => 'jobs page', 'data-properties' => { 'location' => params[:location] }.to_json }

0 commit comments

Comments
 (0)