Sha256: c817ecbb0fe66637fde429d7adfca52a0b8ff5a802165bcfbb112544c6187e91
Contents?: true
Size: 624 Bytes
Versions: 30
Compression:
Stored size: 624 Bytes
Contents
<h4><%= t('activerecord.models.language') -%></h4> <ul> <%- languages = params[:language].to_s.split -%> <%- current_languages = languages.dup -%> <%- @language_facet.each do |facet| -%> <%- language = Language.where(name: facet.value).select([:name, :display_name]).first -%> <%- if language -%> <li> <%= language_facet(language, current_languages, facet) %> </li> <%- end -%> <%- end -%> <%- if params[:language] -%> <li><%= link_to t('page.remove_this_facet'), url_for(filtered_params.merge(language: nil, page: nil, view: nil, only_path: true)) -%></li> <%- end -%> </ul>
Version data entries
30 entries across 29 versions & 2 rubygems