app/views/spotlight/translations/_search_fields.html.erb in blacklight-spotlight-3.0.0.alpha.9 vs app/views/spotlight/translations/_search_fields.html.erb in blacklight-spotlight-3.0.0.alpha.10
- old
+ new
@@ -4,11 +4,11 @@
<%= hidden_field_tag :language, @language %>
<%= hidden_field_tag :tab, 'search_fields' %>
<div class='translation-field-based-search-fields'>
<h2 class='translation-subheading'>
- <%= t('spotlight.exhibits.translations.search_fields.field_based_search_fields.label') %>
+ <%= t('.field_based_search_fields.label') %>
</h2>
<% current_exhibit.blacklight_config.search_fields.select { |_, config| config.if }.each do |key, search_config| %>
<% translation = Translation.find_or_initialize_by(exhibit: current_exhibit, key: "blacklight.search.fields.search.#{key}", locale: @language) %>
<%= f.fields_for :translations, translation do |translation_fields| %>
@@ -34,11 +34,11 @@
<% end %>
</div>
<div class='translation-facet-fields'>
<h2 class='translation-subheading'>
- <%= t('spotlight.exhibits.translations.search_fields.facet_fields.label') %>
+ <%= t('.facet_fields.label') %>
</h2>
<% current_exhibit.blacklight_config.facet_fields.each do |key, facet_config| %>
<% translation = Translation.find_or_initialize_by(exhibit: current_exhibit, key: "blacklight.search.fields.facet.#{key}", locale: @language) %>
<%= f.fields_for :translations, translation do |translation_fields| %>
@@ -64,10 +64,10 @@
<% end %>
</div>
<div class='translation-sort-fields'>
<h2 class='translation-subheading'>
- <%= t('spotlight.exhibits.translations.search_fields.sort_fields.label') %>
+ <%= t('.sort_fields.label') %>
</h2>
<% current_exhibit.blacklight_config.sort_fields.each do |key, sort_config| %>
<% translation = Translation.find_or_initialize_by(exhibit: current_exhibit, key: "blacklight.search.fields.sort.#{key}", locale: @language) %>
<%= f.fields_for :translations, translation do |translation_fields| %>