…e. label_str_method now honored if provided and no label or i18n text present.
…uilder per form
…matchers (Nokogiri); specs runs faster, and rspec_hpricot_matchers was not really maintained anymore + Nokogiri is more live project. Also fixed generation of invalid DOM for radio_input/check_boxes input types. Closes #131.
…ons for selects
…ypes. Specs and RDoc notes added as well.
…omparison expression checking the same thing over and over (as an implication).
…ar fields); a select input will be the default if no :as option is set but :collection option is set. Closes #137.
…alue is set. All specs now pass. Closes #121.
…s and RDoc notes. Small refactoring to make code a bit more readable at the same time.
…input. The Rails core time_zone-selector don't work like the other helpers: Only selects a specified value if there's no form object attribute set. Specs and RDoc notes included.
…me: set_options() => strip_formtastic_options().
… more clear.
…ith specs and RDoc note. Also modified spec descriptions from last commit to make more sense (typos).
…see which ones that are protected - instead of searching for "protected" every time. ;)
…n set (nested forms). Closes #135.
…or select/check_boxes input types, to make it straightforward to specify which values that should be selected. Specs and RDoc notes as well.
…18n lookup spec.
…bug. The last call make no sense, so removed - we just been lucky this worked so far.
…ot working. Adding a spec this time. =)
…ring => Symbol), and concat (<<) instead of appending (+). Closes #45.
* Inputs with legends as labels now got class "label" on the legend to make the styling of these much easier. * Inputs with legends as labels now wraps a label instead of a span, and the label is "connected" (with the "for" HTML attribute) to the first of the wrapped inputs - clicking label gives focus to this input. Reasons: Better form accessibility/usability, and is semantically more correct. * Removed: :as_span-option for the Formtastic label helper - not needed anymore. Closes #101.
…alue] as well - for consistency, i.e. avoiding confusion.
… run and pass on 1.8, 1.9.1, and jruby.
…n of the select input, e.g. form.input :rating, :as => :select, :collection => 1..5. Added specs for both ranges, and explicit array values which was lacking. Closes #115.
…ing the only private method to protected for consistency.
…id legend - the options (:name/:title) way works still, and got higher priority. Closes #106.
…Symbols for convention - in a way that works this time.