Sha256: 9fbb3d8a5d3867d7d6c3e819d38f92e019479bd9b31a761a5d8270c741d6e00a

Contents?: true

Size: 1.38 KB

Versions: 17

Compression:

Stored size: 1.38 KB

Contents

<div id="bookends-search-page" class="search-page">
  <div class="wrapper wrapper-md">
    <%= form_tag search_path, method: :get, id: 'search-form' do %>
      <%= text_field_tag :q, params[:q], class: 'form-control', id: 'search-input', autocomplete: 'off', autofocus: true %>
      <span class="search-icon"></span>
    <% end %>
    <%= hidden_field_tag :search_app_id, ENV['ALGOLIA_APP_ID'], id: 'search-app-id' %>
    <%= hidden_field_tag :search_api_key, ENV['ALGOLIA_SEARCH_API_KEY'], id: 'search-api-key' %>
    <%= hidden_field_tag :search_base_index, ENV['ALGOLIA_BASE_INDEX'], id: 'search-base-index' %>

    <% if ENV['SEARCH_BASE_INDEX_ONLY'].nil? || ENV['SEARCH_BASE_INDEX_ONLY'].to_s == 'false' %>
      <nav class="js-index-selector-container search-tabs">
        <ul>
          <li><a href="#" class="js-index-selector search-tab" data-index="www_page_idx">WWW</a></li>
          <li><a href="#" class="js-index-selector search-tab" data-index="dev_center_article_idx">Dev Center</a></li>
          <li><a href="#" class="js-index-selector search-tab" data-index="elements_resource_idx">Marketplace</a></li>
          <li><a href="#" class="js-index-selector search-tab" data-index="blog_post_idx">Blog</a></li>
        </ul>
      </nav>
    <% end %>

    <section class="js-search-results">
      <ul class="js-search-results-list search-results-list">
      </ul>
    </section>
  </div>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
bookends-9.0.1 app/views/bookends/_search_page.html.erb
bookends-9.0.0 app/views/bookends/_search_page.html.erb
bookends-8.0.8 app/views/bookends/_search_page.html.erb
bookends-8.0.7 app/views/bookends/_search_page.html.erb
bookends-8.0.6 app/views/bookends/_search_page.html.erb
bookends-8.0.5 app/views/bookends/_search_page.html.erb
bookends-8.0.2 app/views/bookends/_search_page.html.erb
bookends-8.0.1 app/views/bookends/_search_page.html.erb
bookends-8.0.0 app/views/bookends/_search_page.html.erb
bookends-7.0.0 app/views/bookends/_search_page.html.erb
bookends-6.0.1 app/views/bookends/_search_page.html.erb
bookends-6.0.0 app/views/bookends/_search_page.html.erb
bookends-5.0.0 app/views/bookends/_search_page.html.erb
bookends-4.2.9 app/views/bookends/_search_page.html.erb
bookends-4.2.8 app/views/bookends/_search_page.html.erb
bookends-4.2.7 app/views/bookends/_search_page.html.erb
bookends-4.2.7rc1 app/views/bookends/_search_page.html.erb