Sha256: 845aa0808fc95cdb74136996966fab1d43b874212a09d55c5abc4df44e27ba9c

Contents?: true

Size: 515 Bytes

Versions: 4

Compression:

Stored size: 515 Bytes

Contents

<div class="searchbox">
  <%= form_tag admin.path, method: :get do %>
    <div class="input-group">
      <div class="input-group-prepend">
        <span class="input-group-text"><icon class="fa fa-search"></icon></span>
      </div>
      <%= link_to icon("fa fa-times"), admin.path, class: "clear-search" if params[:q].present? %>
      <%= search_field_tag :q, params[:q], class: "form-control", autocomplete: "off", placeholder: admin.t("search.placeholder", default: "Search") %>
    </div>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-search-0.4.3 app/views/trestle/search/_search.html.erb
trestle-search-0.4.2 app/views/trestle/search/_search.html.erb
trestle-search-0.4.1 app/views/trestle/search/_search.html.erb
trestle-search-0.4.0 app/views/trestle/search/_search.html.erb