Formtastic::Inputs::TextInput

Parsed documentation:
View on GitHub
Outputs a simple `<label>` with a `<textarea>` wrapped in the standard
`<li>` wrapper. This is the default input choice for database columns of the `:text` type,
but can forced on any text-like input with `:as => :text`.

@example Full form context and output

  <%= semantic_form_for(@user) do |f| %>
    <%= f.inputs do %>
      <%= f.input :first_name, :as => :text %>
    <% end %>
  <% end %>

  <form...>
    <fieldset>
      <ol>
        <li class="text">
          <label for="user_first_name">First name</label>
          <textarea cols="30" id="user_first_name" name="user[first_name]" rows="20"></textarea>
        </li>
      </ol>
    </fieldset>
  </form>

@see Formtastic::Helpers::InputsHelper#input InputsHelper#input for full documentation of all possible options.
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.