2016-02-12 23:52:43 +08:00
|
|
|
<% provide(:head_title, t("search.index.head_title")) %>
|
|
|
|
|
2016-09-28 18:54:47 +08:00
|
|
|
|
2016-02-12 23:52:43 +08:00
|
|
|
<h1 class="page-header"><%= t 'search.index.page_title' %></h1>
|
2016-09-28 18:54:47 +08:00
|
|
|
<!-- 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">
|
2016-09-28 18:54:47 +08:00
|
|
|
<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="glyphicon glyphicon-search"></span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-02-12 23:52:43 +08:00
|
|
|
</div>
|
|
|
|
<% end %>
|