Sha256: 8ccd15d6a5fe51bb622d5ba73354f1c9dbdbcfc10ecabd9982ca2d404f1e4c1e

Contents?: true

Size: 663 Bytes

Versions: 2

Compression:

Stored size: 663 Bytes

Contents

<%
   # Clients of this partial can override the following variables:
   search_action_path ||= nil
   method ||= :get
   remote ||= false
   form_html ||=  {id: 'search-form',
                   class: 'form-inline'}
   search_types ||= ['Any', 'Username', 'Email']
%>

<%= lev_form_for :search,
                 url: search_action_path,
                 remote: remote,
                 method: method,
                 html: form_html do |f| %>

  Search for 
  <%= f.search_field :terms, style: 'width:300px' %> 
  in         
  <%= f.select :type, search_types, {}, {style: 'width: 150px'} %>

  <%= f.submit 'Search', class: 'btn btn-primary' %>

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openstax_accounts-3.1.1 app/views/openstax/accounts/shared/accounts/_search.html.erb
openstax_accounts-3.1.0 app/views/openstax/accounts/shared/accounts/_search.html.erb