Sha256: 5cfd36c996294bedcdce91a6c0d674bbf9fae43c49a3cf491528f2f21c5024f9
Contents?: true
Size: 956 Bytes
Versions: 7
Compression:
Stored size: 956 Bytes
Contents
<%= render(Blacklight::SearchBarComponent.new( **@kwargs, params: @params.merge(f: (@params[:f] || {}).except(:collection)), q: @q, search_field: @search_field)) do |c| %> <% c.with_before_input_group do %> <div class="input-group within-collection-dropdown"> <label class="input-group-text" for="within_collection"> <%= t('arclight.within_collection_dropdown.label_html') %> </label> <%= select_tag ('f[collection][]' if collection_name.present?), within_collection_options, id: 'within_collection', class: 'form-select search-field rounded-end' %> </div> <% end %> <% c.with_prepend do %> <%= prepend %> <% end %> <% c.with_append do %> <%= append %> <% end if append? %> <% c.with_search_button do %> <%= search_button %> <% end if respond_to?(:search_button?) && search_button? # only BL8 has this option %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems