app/views/spotlight/searches/_form.html.erb in blacklight-spotlight-3.6.0.beta10 vs app/views/spotlight/searches/_form.html.erb in blacklight-spotlight-4.0.0

- old
+ new

@@ -11,23 +11,23 @@ </div> <% end %> <div role="tabpanel"> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="nav-item"> - <a href="#search-description" aria-controls="search-description" role="tab" data-toggle="tab" class="nav-link active"><%= t(:'.search_description') %></a> + <a href="#search-description" aria-controls="search-description" role="tab" data-toggle="tab" data-bs-toggle="tab" class="nav-link active"><%= t(:'.search_description') %></a> </li> <li role="presentation" class="nav-item"> - <a href="#search-group" aria-controls="search-group" role="tab" data-toggle="tab" class="nav-link"><%= t(:'.search_group') %></a> + <a href="#search-group" aria-controls="search-group" role="tab" data-toggle="tab" data-bs-toggle="tab" class="nav-link"><%= t(:'.search_group') %></a> </li> <li role="presentation" class="nav-item"> - <a href="#search-masthead" aria-controls="search-masthead" role="tab" data-toggle="tab" class="nav-link"><%= t(:'.search_masthead') %></a> + <a href="#search-masthead" aria-controls="search-masthead" role="tab" data-toggle="tab" data-bs-toggle="tab" class="nav-link"><%= t(:'.search_masthead') %></a> </li> <li role="presentation" class="nav-item"> - <a href="#search-thumbnail" aria-controls="search-thumbnail" role="tab" data-toggle="tab" class="nav-link"><%= t(:'.search_thumbnail') %></a> + <a href="#search-thumbnail" aria-controls="search-thumbnail" role="tab" data-toggle="tab" data-bs-toggle="tab" class="nav-link"><%= t(:'.search_thumbnail') %></a> </li> </ul> <div class="tab-content"> @@ -42,11 +42,11 @@ <% available_document_index_views.each do |key, view| %> <%= f.radio_button :default_index_view_type, key, label: view.display_label %> <% end %> <% end %> <% unless @search.query_params.blank? %> - <div class="form-group row"> + <div class="form-group mb-3 row"> <label class="col-md-2 col-sm-2 col-form-label"><%= t(:".query_params") %></label> <div class="col-md-7 col-sm-7"> <div class="appliedParams card card-body bg-light d-block"> <%= render_constraints(@search.query_params) %> </div> @@ -79,10 +79,10 @@ </div> </div> <div class="form-actions"> <div class="primary-actions"> - <%= cancel_link @search,exhibit_searches_path(@exhibit), class: 'btn-sizing' %> + <%= cancel_link @search,exhibit_searches_path(@exhibit), class: 'btn btn-link', role: 'button' %> <%= f.submit nil, class: 'btn btn-primary' %> </div> </div> <% end %>