2018-03-17 18:26:18 +05:30
|
|
|
- page_context_word = local_assigns.fetch(:page_context_word)
|
|
|
|
- counter = local_assigns.fetch(:counter)
|
|
|
|
|
|
|
|
%li{ class: active_when(params[:state] == 'all') }>
|
2019-02-13 22:33:31 +05:30
|
|
|
= link_to page_filter_path(state: 'all'), id: 'state-all', title: "Show all #{page_context_word}.", data: { state: 'all' } do
|
2018-03-17 18:26:18 +05:30
|
|
|
#{counter}
|