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

18 lines
626 B
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<% provide(:head_title, t("search.index.head_title")) %>
2016-02-12 23:52:43 +08:00
<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 %>
2016-02-12 23:52:43 +08:00
<div class="form-group">
<div class="input-group">
<input class="form-control" type="text" name="q" placeholder="<%= t('nav.search') %>">
<span class="input-group-btn">
<button id="search-button" class="btn btn-default" type="submit">
<span class="fas fa-search"></span>
</button>
</span>
</div>
2016-02-12 23:52:43 +08:00
</div>
<% end %>