Sha256: 83c1063d104680a46f8b3df0b765218602eda5b7ab27b0c370ca380013bcb71a
Contents?: true
Size: 615 Bytes
Versions: 19
Compression:
Stored size: 615 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(params.merge(language: nil, page: nil, view: nil, only_path: true)) -%></li> <%- end -%> </ul>
Version data entries
19 entries across 19 versions & 2 rubygems