Region filter links do not repeat start_date
This commit is contained in:
parent
dfef78fca0
commit
a0c4ecce11
@ -7,8 +7,7 @@
|
||||
%small
|
||||
%em.fa.fa-external-link-alt
|
||||
- else
|
||||
= link_to start_date: params[:start_date], year: params[:year],
|
||||
region: params[:region] == filter_region.id.to_s ? '' : filter_region do
|
||||
= link_to region: params[:region] == filter_region.id.to_s ? '' : filter_region do
|
||||
- if filter_region.code.present?
|
||||
= flag_icon filter_region.code.downcase
|
||||
= t filter_region.code, scope: :countries, default: filter_region.name
|
||||
|
Loading…
Reference in New Issue
Block a user