Sha256: bf6bbfcf6735c01d5829972ef6351b1793a08514e4ba6f09c5ff09a621eee3f3

Contents?: true

Size: 940 Bytes

Versions: 4

Compression:

Stored size: 940 Bytes

Contents

<div class="row main-search-form">
    <div class="small-12 columns">
    <%= form_for("search", method: :get, html: {id: 'main-search-form'}) do |f| %>
        <div class="row collapse">
            <div class="small-10 columns">
                <% if @query  %>
                    <input type="search" name="q" id="params-q" class="quicksearch-typeahead search-query" value="<%= @query %>" />
                <% else %>
                    <input type="search" name="q" id="params-q" class="quicksearch-typeahead search-query" placeholder="<%= @search_form_placeholder %>" />
                <% end %>
            </div>
            <div class="small-2 columns">
                <button type="submit" class="button prefix show-for-small"><i class="fa fa-search"></i></button>
                <button type="submit" class="button prefix show-for-medium-up">Search</button>
            </div>
        </div>
    <% end %>
    </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
quick_search-core-0.1.1 app/views/layouts/quick_search/_search_form.html.erb
quick_search-core-0.1.0 app/views/layouts/quick_search/_search_form.html.erb
quick_search-core-0.0.1 app/views/layouts/quick_search/_search_form.html.erb
quick_search-core-0.0.1.test app/views/layouts/quick_search/_search_form.html.erb