2.2.1 * Rails 4 compatibilty updates * corrected configuration template for i18n lookups, which default to true * removed custom_inline_order from configuration and template (code was removed in 2.0) * added documentation for button/action i18n keys * other documentation improvements 2.2.0 * documentation improvements for generator 2.2.0.rc * removed deprecated buttons DSL, ButtonHelper and commit_button helper * deprecated the top-level :value option that is only used by HiddenInput * deprecated :hint_class option (use global configuration) * deprecated :error_class option (use global configuration) * deprecated :group_by and :group_label (use :collection option with a HTML string generated by Rails' grouped_options_for_select()) * deprecated :find_options * renamed TimeInput (:as => :time) to TimeSelectInput (:as => :time_select), aliased and deprecated TimeInput * renamed DatetimeInput (:as => :datetime) to DatetimeSelectInput (:as => :datetime_select), aliased and deprecated DatetimeInput * renamed DateInput (:as => :date) to TimeSelectInput (:as => :date_select), aliased and deprecated DateInput * added DatePickerInput (:as => :date_picker) for HTML5 date inputs * added TimePickerInput (:as => :time_picker) for HTML5 time inputs * added DateTimePickerInput (:as => :datetime_picker) for HTML5 datetime and datetime-local inputs * added support for Rails 4 (edge) * improved error message on Formtastic::UnknownInputError * improved documentation for asset pipeline and condition stylesheets (IE) 2.1.1 * Documentation improvements and updates * Fixed that the required string was appended to the label over and over due to localizer caching * Fixed that the checkbox's `name` attribute was included in the attributes of the matching label element on boolean fields 2.1.0 * no changes 2.1.0.rc * documentation improvements * improved performance by caching of Formtastic's i18n lookups * improved performance in production by checking for defined constants instead of catching the exception * fixed arguments passed into fields_for being flattened one level too deep * added an optional `index` that an inputs() block can access for use in labels and other HTML attributes 2.1.0.beta * Added Rails 3.2 compatibility * Added a new Actions DSL (f.actions, f.action) — see below for deprecation of the Buttons DSL * Added new i18n_localizer configuration, allowing you to use your own localiser class instead of Formtastic::Localizer * Added a hidden input before mutli-selects, to allow full clearing of the select (like we do for checkboxes) * Added support for integers in a :collection for radio and check_boxes inputs * Added support for time inputs with no current value to default render blank inputs rather than pre-selecting the current time * Brought back the Form Generator from 1.2.x versions of Formtastic * Added support for placeholder text on textareas (text inputs) * Deprecated the Buttons DSL (f.buttons, f.commit_button) in favor of the new Actions DSL — see above * Removed the previously deprecated :label_method, :value_method & :group_label_method options * Removed the previously deprecated :as => :numeric * Removed the previously deprecated inline_errors_for and related methods * Removed the previously deprecated SemanticFormHelper and SemanticFormBuilder * Fixed the behavior of :include_blank and :prompt options to be inline with Rails’ * Fixed that :input_html => { :multiple => true } did not force a single choice select into a multi choice * Fixed date, time and datetime legend labels to correspond to the first visible input, rather than the first input (which may be hidden) * Fixed that DateInput should treat fragments excluded from :order option as discarded * Fixed that the :wrapper_html options could not be reused in the view (like in a with_options block) because they were modified by Formtastic * Fixed numerous Mongoid and MongoMapper compatibility issues * Fixed that we should be calculating the length of integer columns as bytes * Fixed many inputs (date, datetime, time, checkboxes, select & boolean) that did not correctly use the :index option in fields_for * Fixed Haml and Slim template indentation * Fixed invalid html output for nested inputs with multiple siblings * Fixed i18n keys with nested objects * Many documentation fixes and improvements * A few performance improvements 2.0.2 * Fixed that MongoMapper does not use `associations(method)`. `.associations` is an accessor. 2.0.1 * fixed that `:multiple => true` wasn't working when no association present 2.0.0 * Fixed that all check boxes were incorrectly checked if an Array was passed in to :collection * Improved README * Added form generator template for Slim template engine * Added support for Proc conditions in collection_from_association * Refactored commit button. Split it into a couple of different methods to make it easier to override. 2.0.0.rc5 * Changed perform_browser_validations and use_required_attribute configuration defaults from true to false for a better out-of-the-box experience and upgrade path * Fixed that the `novalidate` attribute was being applied to the `
` tag when it shouldn't have been (and vice-versa) * Fixed `undefined method `last' for #` with a `:collection` containing an array of arrays 2.0.0.rc4 * Fixed that TimeInput was not rendering hidden y/m/d inputs by default. * Fixed test suite under Rails 3.1.0.rc5 * Fixed false and blank fragment labels on date/time inputs producing unsafe HTML. * Fixed that inputs were 'required' withput considering `:on => :create` validations * Fixed that collections of strings in CheckBoxesInput were ot being correctly checked be checked if they match the model * Fixed that the required attribute was added to the choices in a :radio or :check_boxes input, instead of just the parent input wrapper * Fixed semantic_fields_for when used with a hash-like model * Fixed that models without defined validations (even if validators_on exists) should not be considered required * Fixed min/max attributes when the validation uses a Proc * Fixed that inputs should not be considered required if :allow_blank => true is set on validates_inclusion_of * Fixed that inputs should not be considered required if if either :allow_blank => true, :minimum is > 0, or :within's least value is > 0 is set on validates_length_of * Fixed a typo in the config template * Fixed semantic_fields_for to work with Rails 3 *and* 3.1's method sigs (I hope), many thanks to the simple_form guys for figuring this out * Changed HTML5 `step` attribute to default to "any" instead of "1" * Added CarrierWave support for to file input detection * Added a configuration 'perform_browser_validations' to opt out of HTML5 browser validations. * Added more support for mongo documents, including MongoMapper-specific reflection capability * Added IE specific stylesheets & moved those styles out of main stylesheet, include them yourself if needed * Added a new configuration to opt out of HTML5 required attribute 2.0.0.rc3 * Fixed that .label class was incorrectly applied to