Sha256: 8602d476efaf4965593bf14a3c6d7904611cd618c1d398dc98372c557b41525c
Contents?: true
Size: 1.24 KB
Versions: 7
Compression:
Stored size: 1.24 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' %> <%= search_as_hidden_fields(:omit_keys => [: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