Sha256: 4f4c06deaa088794d1b473205e34767e5269996c0e2f6b93122a2d6857e6c366

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

<div class="searchbox">
  <%= form_tag admin.path, method: :get do %>
    <div class="input-group">
      <span class="input-group-text"><icon class="fa fa-search"></icon></span>
      <%= 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

2 entries across 2 versions & 1 rubygems

Version Path
trestle-search-0.5.0 app/views/trestle/search/_search.html.erb
trestle-search-0.5.0.pre app/views/trestle/search/_search.html.erb