Sha256: 23e653fb080efd579aa00880f7a7ea2ef5e1a9ca9a17532e4367a2d0772eb636

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 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_API_SEARCH_ONLY_KEY'], id: 'search-api-key' %>
    <%= hidden_field_tag :search_base_index, ENV['ALGOLIA_BASE_INDEX'], id: 'search-base-index' %>

    <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">Elements</a></li>
        <li><a href="#" class="js-index-selector search-tab" data-index="blog_post_idx">Blog</a></li>
      </ul>
    </nav>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookends-4.0.0.pre.rc1 app/views/bookends/_search_page.html.erb