Skip to content

Commit

Permalink
corrected documentation on how to override a value
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfrench committed Dec 12, 2010
1 parent b6e580d commit e6aba23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/formtastic.rb
Expand Up @@ -88,9 +88,9 @@ class SemanticFormBuilder < ActionView::Helpers::FormBuilder
#
# <% semantic_form_for @employee do |form| %>
# <% form.inputs do -%>
# <%= form.input :secret, :value => "Hello" %>
# <%= form.input :name, :label => "Full Name" %>
# <%= form.input :manager_id, :as => :radio %>
# <%= form.input :manager, :as => :radio %>
# <%= form.input :secret, :as => :password, :input_html => { :value => "xxxx" } %>
# <%= form.input :hired_at, :as => :date, :label => "Date Hired" %>
# <%= form.input :phone, :required => false, :hint => "Eg: +1 555 1234" %>
# <%= form.input :email %>
Expand Down

0 comments on commit e6aba23

Please sign in to comment.