class Formtastic::Inputs::TextInput
@see Formtastic::Helpers::InputsHelper#input InputsHelper#input for full documentation of all possible options.
</form>
</fieldset>
</ol>
</li>
<textarea cols=“30” id=“user_first_name” name=“user” rows=“20”></textarea>
<label for=“user_first_name”>First name</label>
<li class=“text”>
<ol>
<fieldset>
<form…>
<% end %>
<% end %>
<%= f.input :first_name, :as => :text %>
<%= f.inputs do %>
<%= semantic_form_for(@user) do |f| %>
@example Full form context and output
but can forced on any text-like input with ‘:as => :text`.
`<li>` wrapper. This is the default input choice for database columns of the `:text` type,
Outputs a simple `<label>` with a `<textarea>` wrapped in the standard
def input_html_options
def input_html_options { :cols => builder.default_text_area_width, :rows => builder.default_text_area_height }.merge(super) end
def to_html
def to_html input_wrapping do label_html << builder.text_area(method, input_html_options) end end