…nil (only fails prior to 3.0.10)
Add .label class to all labels intended to be displayed on the left of an input, refactor CSS. * legends are already marked as .label * add .label to all labels intended to be displayed on the left of an input as well * .label lets us address any tag with that class, and style them together * lets us merge duplicated styles going forward * exposed a bug where boolean label_html_options wasn't calling super to get the default stuff in Labelling module (fixed)
.choices for the fieldset inside a .radio or .check_boxes input .choices-group for the ol inside the .choices .choice for each li in .choices-group .fragments for the fieldset inside date/time inputs .fragments-group for the ol inside .fragments .fragment for the li inside .fragments-group Still some duplication to remove and we don't need all this specificity.
…l_method => :member_label, :value_method => :member_value and :grouped_label_method => :grouped_label. Fixes #533.
Can provide any object that responds to :call (attempts to quack the `duck` variable instead of checking if it's a Proc).
… #all and collection_from_association
…c::Builder, Formtastic::SemanticFormHelper to Formtastic::Helpers::FormHelper and ::Formtastic to just Formtastic. Still need to work out upgrade path/warnings/etc, but the old class names still work for now (for those awesome enough to be on the edge).
…upporting the Rails 3 block styles.
…ttribute based of the column data -- the default config is applied, unless it's nil
The new detection mechanism is a bit less reliant on ActiveRecord and provides some better defaults for common use cases like Array, Integer, String oder Nil. Additionally custom methods for label and value now get used for finding selected values in a collection as well as for rendering the collection. Detection of methods based on work in Plataformatec SimpleForm.
…rt dir. Move custom_macros into spec/support directory where rspec automatically loads it. Add log/ directory and files to the .gitignore file. RSpec 2.0 is writing some logs there.