Sha256: 833c1cad05df66981b6ff60174c9e20b56e2a89c9d0eae02f1c537a265e0956b
Contents?: true
Size: 946 Bytes
Versions: 6
Compression:
Stored size: 946 Bytes
Contents
<header class='header-main'> <div class="header-title"> <%= form_for :search, url: georgia.search_pages_url, method: :get, html: {role: 'search'} do |f| %> <%= facets_inputs([:tg]) %> <%= hidden_field_tag :s, params[:s] if params[:s] %> <%= hidden_field_tag :t, params[:t] if params[:t] %> <div class="input-group"> <div class="input-group-btn"> <button class="btn btn-default"><%= icon_tag('search') %></button> </div> <%= text_field_tag :query, params[:query], class: 'form-control input-search', placeholder: 'Search' %> </div> <% end -%> </div> <div class="header-actions"> <%= link_to "#{icon_tag('plus')} Add new".html_safe, '#', class: 'btn btn-primary', data: {toggle: 'modal', target: '#page_form'} if can?(:create, model) %> </div> </header> <%= content_for :footer do %> <%= render 'georgia/shared/modals/page' if can?(:create, model) %> <% end -%>
Version data entries
6 entries across 6 versions & 1 rubygems