README.textile in jquery-ui-form-0.2.4 vs README.textile in jquery-ui-form-0.2.5

- old
+ new

@@ -53,20 +53,20 @@ = jquery_form_for :sample do |f| =f.input :sample_id, :as => :hidden =f.fieldset "Person" do =f.row do =f.input :full_name, :hint => "First name, Last name", :required => true - =f.input :funny, :as => :boolean, :hint => "Is this person funny?" + =f.input :funny, :as => :boolean, :hint => "Is this person funny?", :value => 1 =f.input :date_of_birth, :as => :date, "data-calendar" => {:dateFormat => "dd.mm.yy"} =f.row do =f.input :email, :as => :email, :hint => "Can I send You an email?" =f.input :phone, :as => :phone, :hint => "(xx)-xxx-xxx-xx" =f.input :mobile, :as => :phone, :hint => "(xx)-xxx-xxx-xx" =f.input :age, :as => :number, :min => 18, :max => 99, :step => 1, :hint => "What is your age" =f.input :homepage, :as => :url, :hint => "Your website" =f.row do =f.input :photo, :as => :file, :hint => "Upload Your picture" - =f.input :pet, :as => :select, :collection => ["Cat","Dog","Hamster"] + =f.input :pet, :collection => ["Cat","Dog","Hamster"] #Defaults to select =f.input :stars, :as => :range =f.input :sex, :as => :radio, :collection => [["M", "Male"],["F","Female"]], :value => "M" =f.input :skills_simple, :as => :check_boxes, :collection => ["Ruby","PHP", "Perl", "Java", ".NET", "OjectiveC"], :values => ["Ruby",".NET"] =f.input :skills, :as => :check_boxes, :buttonset => true, :collection => ["Ruby","PHP", "Perl", "Java", ".NET", "OjectiveC"], :values => ["Ruby",".NET"] =f.input :friends, :as => :check_boxes, :buttonset => true, :collection => [[1,"Carl"],[2,"Mary"], [3,"John"], [4,"James"], [5,"Anete"], [6,"Jane"]], :values => [5,2], :hint => "Who are Your friends?"