app/views/spotlight/exhibits/_languages.html.erb in blacklight-spotlight-2.0.0.rc1 vs app/views/spotlight/exhibits/_languages.html.erb in blacklight-spotlight-2.0.0.rc2

- old
+ new

@@ -8,13 +8,14 @@ </div> <%= f.submit nil, class: 'btn btn-primary' %> <% end %> <h3><%= t :'spotlight.exhibits.languages.current_header' %></h3> - <p class="instructions"><%= t :'spotlight.exhibits.languages.current_instructions' %></p> <% if current_exhibit.languages.any? && current_exhibit.languages.last.persisted? %> + <p class="instructions"><%= t :'spotlight.exhibits.languages.current_instructions' %></p> + <%= bootstrap_form_for current_exhibit, layout: :horizontal do |f| %> <div class="row"> <div class="col-md-8"> <table class="table table-striped"> <thead> @@ -26,10 +27,10 @@ </thead> <tbody> <% current_exhibit.languages.each do |language| %> <%= f.fields_for :languages, language do |languages| %> <tr> - <td><%= t("locales.#{language.locale.downcase}") %></td> + <td><%= t("locales.#{language.locale}") %></td> <td class='text-center'> <div class='checkbox'> <%= languages.label :public, class: 'sr-only' %> <%= languages.check_box_without_bootstrap :public %> </div>