Skip to content

Commit

Permalink
Fixed up the documentation for text_input
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleypriest committed Nov 8, 2011
1 parent ddaaea2 commit 7804a9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/formtastic/inputs/text_input.rb
Expand Up @@ -9,16 +9,16 @@ module Inputs
#
# <%= semantic_form_for(@user) do |f| %>
# <%= f.inputs do %>
# <%= f.input :first_name, :as => :string %>
# <%= f.input :first_name, :as => :text %>
# <% end %>
# <% end %>
#
# <form...>
# <fieldset>
# <ol>
# <li class="string">
# <li class="text">
# <label for="user_first_name">First name</label>
# <input type="text" id="user_first_name" name="user[first_name]">
# <textarea cols="30" id="user_first_name" name="user[first_name]" rows="20"></textarea>
# </li>
# </ol>
# </fieldset>
Expand Down

0 comments on commit 7804a9f

Please sign in to comment.