app/views/spotlight/translations/_search_fields.html.erb in blacklight-spotlight-3.0.0.alpha.3 vs app/views/spotlight/translations/_search_fields.html.erb in blacklight-spotlight-3.0.0.alpha.4
- old
+ new
@@ -72,10 +72,10 @@
<% 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| %>
<%= translation_fields.hidden_field :key %>
<%= translation_fields.hidden_field :locale %>
- <div data-translation-progress-item='true' class='form-group translation-form'>
+ <div data-translation-progress-item='true' class='row form-group translation-form'>
<%= translation_fields.label :value, t("spotlight.search.fields.sort.#{key}", locale: I18n.default_locale), class: 'col-form-label col-12 col-sm-2' %>
<div class='col-11 col-sm-9 card card-body panel-translation'>
<%= translation_fields.text_field_without_bootstrap :value, class: 'form-control' %>
<small class="form-text text-muted">
<%= sort_config.label %>