Quick correction on the link to remove the gps coordinates filter
This commit is contained in:
parent
99c10329a6
commit
31ac5d2667
@ -1,7 +1,7 @@
|
|||||||
-# Choose a region to filter events with
|
-# Choose a region to filter events with
|
||||||
%ul.regions
|
%ul.regions
|
||||||
%li#near-me{ class: ('selected' if (params[:near] && params[:near][:location]).present?) }
|
- if params[:near].present? && params[:near][:location].present?
|
||||||
- if (params[:near] && params[:near][:location]).present?
|
%li.selected
|
||||||
%a(href="?near=")
|
%a(href="?near=")
|
||||||
%em.fa.fa-map-pin
|
%em.fa.fa-map-pin
|
||||||
= params[:near][:location]
|
= params[:near][:location]
|
||||||
@ -12,6 +12,7 @@
|
|||||||
%em.fa.fa-times
|
%em.fa.fa-times
|
||||||
|
|
||||||
- else
|
- else
|
||||||
|
%li#near-me
|
||||||
%a.near-me(href="?near[distance]=1&near[location]=[me]")
|
%a.near-me(href="?near[distance]=1&near[location]=[me]")
|
||||||
%em.fa.fa-street-view
|
%em.fa.fa-street-view
|
||||||
= t '.nearMe'
|
= t '.nearMe'
|
||||||
|
Loading…
Reference in New Issue
Block a user