app/views/spotlight/translations/_search_fields.html.erb in blacklight-spotlight-3.2.0 vs app/views/spotlight/translations/_search_fields.html.erb in blacklight-spotlight-3.3.0
- old
+ new
@@ -1,9 +1,9 @@
<div role="tabpanel" class="tab-pane <%= 'active' if @tab == 'search_fields' %>" id="search_fields">
<%= bootstrap_form_for current_exhibit, url: spotlight.exhibit_translations_path(current_exhibit), layout: :horizontal do |f| %>
<% # Add hidden fields for the language and tab so the redirect knows how to come back here %>
<%= hidden_field_tag :language, @language %>
- <%= hidden_field_tag :tab, 'search_fields' %>
+ <%= hidden_field_tag :tab, 'search_fields', id: nil %>
<div class='translation-field-based-search-fields'>
<h2 class='translation-subheading'>
<%= t('.field_based_search_fields.label') %>
</h2>