Sha256: c222e6c63a094f9e030e1832ca10522e7e3b4ed31074cead43bd539c9e677db3

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

<%#
Copyright © 2012 The Pennsylvania State University

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
%>

<div style="float: right;" >
    <%= form_tag profiles_path, :method => :search, :class => "well form-search" do %>
      <label class="accessible-hidden">Search Users</label>
      <%= text_field_tag :uq, params[:uq], :class => "q", :placeholder => "Search Users", :size => '30', :type => "search", :id => "user_search" %>
      <%= hidden_field_tag :sort, params[:sort], :id => 'user_sort' %>
     <%= search_as_hidden_fields(:omit_keys => [:uq, :sort, :qt, :page]).html_safe %>
    <button type="submit" class="btn btn-primary" id="user_submit"> 
      <i class="icon-search"></i> Go
    </button>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-0.0.1.pre1 app/views/users/_search_form.html.erb