Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kivanio committed Nov 4, 2008
1 parent 1d85a1d commit b24f8dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README
Expand Up @@ -39,6 +39,7 @@ example:
field_set_tag "Form Details" do %>
<%= f.date_select :date, :required => true, :help => "date the something happened" %>
<%= f.text_field :number, :required => true, :help => "the reference number for this thing" %>
<%= f.select :topic_id, @topics, {:include_blank => "-- select --", :required => true, :label => 'Topics'} %>
<%= f.select :external_id, [["Choose an option...",""]] + @externals.map{|c| [c.name, c.id]}, :required => true, :label => "options", :help => "select something from the list" %>
<%= check_box_tag_group "document[other_items][]", @others.map{|u| { :value => u.id, :label => u.description }}, :label => "including these?", :help => "tick the whatever boxes are appropriate for this&nbsp;thing" %>
<%= f.text_field :name, :help => "what was Willis talkin' about?" %>
Expand Down

0 comments on commit b24f8dc

Please sign in to comment.