app/views/spotlight/exhibits/_languages.html.erb in blacklight-spotlight-2.13.0 vs app/views/spotlight/exhibits/_languages.html.erb in blacklight-spotlight-3.0.0.alpha.1

- old
+ new

@@ -7,11 +7,11 @@ <%= hidden_field_tag :tab, 'language' %> </div> <%= f.submit nil, class: 'btn btn-primary' %> <% end %> - <h3><%= t :'spotlight.exhibits.languages.current_header' %></h3> + <h3 class="mt-4"><%= t :'spotlight.exhibits.languages.current_header' %></h3> <% 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| %> @@ -34,10 +34,10 @@ <div class='checkbox'> <%= languages.label :public, class: 'sr-only' %> <%= languages.check_box_without_bootstrap :public %> </div> </td> - <td class='text-center'><%= link_to t('.remove'), exhibit_language_path(current_exhibit, language), method: :delete, data: { confirm: t('.modal.confirm') }, class: 'btn btn-sm btn-primary' %></td> + <td class='text-center'><%= link_to t('.remove'), exhibit_language_path(current_exhibit, language), method: :delete, data: { confirm: t('.modal.confirm') }, class: 'btn btn-sm btn-danger' %></td> </tr> <% end %> <% end %> </tbody> </table>