app/views/spotlight/exhibits/_languages.html.erb in blacklight-spotlight-3.2.0 vs app/views/spotlight/exhibits/_languages.html.erb in blacklight-spotlight-3.3.0
- old
+ new
@@ -2,11 +2,11 @@
<p class="instructions"><%= t :'spotlight.exhibits.languages.selection_instructions' %></p>
<%= bootstrap_form_for [current_exhibit, Spotlight::Language.new], layout: :horizontal, html: { class: 'row' }, label_col: "col-sm-3", control_col: "col-sm-9" do |f| %>
<div class='col-sm-6'>
<%= f.select('locale', add_exhibit_language_dropdown_options, prompt: t('.selection_prompt')) %>
- <%= hidden_field_tag :tab, 'language' %>
+ <%= hidden_field_tag :tab, 'language', id: nil %>
</div>
<div class='col-sm-6'>
<%= f.submit nil, class: 'btn btn-primary' %>
</div>
<% end %>
@@ -46,10 +46,10 @@
</table>
</div>
</div>
<div class="form-actions">
<div class="primary-actions">
- <%= hidden_field_tag :tab, 'language' %>
+ <%= hidden_field_tag :tab, 'language', id: nil %>
<%= f.submit nil, class: 'btn btn-primary' %>
</div>
</div>
<% end %>
<% else %>