class Formtastic::Inputs::SearchInput
@see Formtastic::Helpers::InputsHelper#input InputsHelper#input for full documentation of all possible options.
</form>
</fieldset>
</ol>
</li>
<input type=“search” id=“search_q” name=“q”>
<li class=“search”>
<ol>
<fieldset>
<form…>
<% end %>
<% end %>
<%= f.input :q, :as => :search, :label => false, :input_html => { :name => “q” } %>
<%= f.inputs do %>
<%= semantic_form_for(@search, :html => { :method => :get }) do |f| %>
@example Full form context and output
`/^search$/‘, but can be applied to any text-like input with `:as => :search`.
`<li>` wrapper. This is the default input choice for attributes with a name matching
Outputs a simple `<label>` with a HTML5 `<input type=“search”>` wrapped in the standard
def to_html
def to_html input_wrapping do label_html << builder.search_field(method, input_html_options) end end