app/views/spotlight/searches/_form.html.erb in blacklight-spotlight-1.3.0 vs app/views/spotlight/searches/_form.html.erb in blacklight-spotlight-1.4.0
- old
+ new
@@ -28,9 +28,12 @@
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="search-description">
<%= f.text_field :title, control_col: "col-sm-5" %>
<%= f.text_area :long_description, rows: 5 %>
+ <%= f.form_group :search_box, label: { text: t(:'.search_box.label'), class: nil }, help: t(:'.search_box.help_block') do %>
+ <%= f.check_box :search_box, label: "" %>
+ <% end %>
<%= f.form_group label: { text: t(:".default_index_view_type") } do %>
<% available_document_index_views.each do |view| %>
<%= f.radio_button :default_index_view_type, view, label: view_label(view) %>
<% end %>
<% end %>