Sha256: 222494e56fe060cee3a7700c2d96a9dc71244d8ce6ab26bd15ed1a0eb9c45301
Contents?: true
Size: 1.26 KB
Versions: 7
Compression:
Stored size: 1.26 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_for([collections, @collection] , :method => :get, :class => "well form-search") do |f| %> <label class="accessible-hidden">Search Collection <%=@collection.title %></label> <%= text_field_tag :cq, params[:cq], :class => "collection-query", :placeholder => "Search Collection", :size => '30', :type => "search", :id => "collection_search" %> <%= hidden_field_tag :sort, params[:sort], :id => 'collection_sort' %> <%= render_hash_as_hidden_fields(params_for_search.except(:cq, :sort, :qt, :page)).html_safe %> <button type="submit" class="btn btn-primary" id="collection_submit"><i class="icon-search"></i> Go</button> <% end %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems