app/views/spotlight/browse/_search_box.html.erb in blacklight-spotlight-2.13.0 vs app/views/spotlight/browse/_search_box.html.erb in blacklight-spotlight-3.0.0.alpha.1

- old
+ new

@@ -1,17 +1,20 @@ <div class="search-box-container"> <%= form_tag exhibit_browse_path(current_exhibit, search), method: :get, class: 'browse-search-form form-horizontal', role: 'browse-search' do %> <%= render_hash_as_hidden_fields(search_state.params_for_search.except(:q, :search_field, :exhibit_id, :browse_q, :qt, :page, :utf8)) %> - <div class="form-group"> - <label class="col-sm-4 control-label" for="browse_q"><%= t(:'.label') %></label> + <div class="form-group row"> + <label class="col-sm-4 col-form-label h6" for="browse_q"><%= t(:'.label') %></label> <div class="col-sm-6"> <div class="input-group"> <%= text_field_tag :browse_q, params[:browse_q], placeholder: t(:'.placeholder'), class: "form-control", id: "browse_q" %> - <span class="input-group-btn"> - <button class="btn btn-reset" type="reset"><span class="sr-only"><%= t(:'.reset') %></span><span class="glyphicon glyphicon-remove-circle"></span></button> + <span class="input-group-btn input-group-append"> + <button class="btn btn-reset" type="reset"> + <span class="sr-only"><%= t(:'.reset') %></span> + <%= blacklight_icon('remove_circle_outline') %> + </button> <button type="submit" class="btn btn-primary search-btn" id="browse-search"> - <span class="submit-search-text"><%= t(:'.submit') %></span> - <span class="glyphicon glyphicon-search"></span> + <span class="submit-search-text"><%= t(:'.submit') %></span> + <%= blacklight_icon('search', aria_hidden: true) %> </button> </span> </div> </div> </div>