2017-12-05 06:47:45 -05:00
|
|
|
- page_context_word = local_assigns.fetch(:page_context_word)
|
|
|
|
- counter = local_assigns.fetch(:counter)
|
|
|
|
|
|
|
|
%li{ class: active_when(params[:state] == 'all') }>
|
2018-12-13 23:13:51 -05:00
|
|
|
= link_to page_filter_path(state: 'all'), id: 'state-all', title: "Show all #{page_context_word}.", data: { state: 'all' } do
|
2017-12-05 06:47:45 -05:00
|
|
|
#{counter}
|