Sha256: 50721ee945b794e9b9a05615c1f439e1554702ead1e6767a569bb1b5fdd244f7

Contents?: true

Size: 650 Bytes

Versions: 2

Compression:

Stored size: 650 Bytes

Contents

<div style="float: right;" >
  <%= form_tag sufia.dashboard_index_path, :method => :get, :class => "well form-search" do %>
    <label class="accessible-hidden">Search My Dashboard</label>
    <%= text_field_tag :q, params[:q], :class => "q", :placeholder => "Search My Dashboard", :size => '30', :type => "search", :id => "dashboard_search" %>
    <%= hidden_field_tag :search_field, 'all_fields' %>
    <%= render_hash_as_hidden_fields(params_for_search().except(:q, :search_field, :qt, :page, :utf8)) %>
    <button type="submit" class="btn btn-primary" id="dashboard_submit">
      <i class="icon-search"></i> Go
    </button>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-3.7.2 app/views/dashboard/_search_form.html.erb
sufia-3.7.1 app/views/dashboard/_search_form.html.erb