scinote-web/app/views/search/new.html.erb

17 lines
652 B
Text

<% provide(:head_title, t("search.index.head_title")) %>
<h1 class="page-header"><%= t 'search.index.page_title' %></h1>
<!-- search form -->
<%= form_tag search_path, method: :get, id: 'search-bar', class: 'navbar-form navbar-left', role: 'search' do %>
<div class="form-group">
<div class="input-group">
<input class="form-control min-h-[2.5rem]" type="text" name="q" placeholder="<%= t('nav.search') %>">
<span class="input-group-btn">
<button id="search-button" class="btn btn-secondary" type="submit">
<span class="sn-icon sn-icon-search"></span>
</button>
</span>
</div>
</div>
<% end %>