Sha256: 7bdc2ebada763be9f1f0b71882cb212442a2370562c2494681de9a3fb1eb551b

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

<header class='header-main'>
  <div class="header-gutter">
    <%= link_to_back search_media_index_path if action_name == 'edit' %>
  </div>
  <div class="header-title">
    <%= form_for :search, url: search_media_index_path, method: :get, html: {role: 'search'} do |f| %>
      <%= facets_inputs([:tg]) %>
      <%= hidden_field_tag :e, params[:e] if params[:e] %>
      <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', autofocus: true %>
      </div>
    <% end -%>
  </div>
  <div class="header-actions">
    <span class="btn btn-primary btn-file-upload">
      <span class='btn-file-upload-text'>
        <%= icon_tag 'plus' %> Add files...
      </span>
      <input class='input-file-upload js-file-upload' type="file" name="assets[]" data-url="<%= media_index_path %>" multiple>
    </span>
  </div>
</header>

<%= content_for :footer do %>
  <%= render 'georgia/shared/modals/progress' %>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.8.0 app/views/georgia/media/_header.html.erb