- Fix method reflection for Ruby 2.1+. @badosu
- Collection input generates
requiredattribute if it haspromptoption. @nashby - Use the given name in
input_htmlfor the hidden field incollection_check_boxes@angelic - Add "checkbox" class to the label of boolean input when there is no
:labelingenerate_additional_classes_forconfig option @nashby - Support models with digits in their names @webgago
- Fix XSS vulnerability on error components.
- Fix XSS vulnerability on label, hint and error components.
input_fieldsupports components that don't generate tags as:min_max,:maxlength,:placeholder,:pattern,:readonly. Closes #362. (@nashby)- support for Rails eager loading. Closes #478.
- generate required attribute for
date_timeinput. (@nashby) Closes #730. grouped_collection_selectnow accepts proc/lambda as label and value method. (@svendahlstrand) Closes #623.- Add Zurb Foundation 3 integration. (@balexand)
- Generates additional wrapper class based on object + attribute name. (@lucasmazza) Closes #576.
- Allow
input_fieldto work with:defaultsoptions. (@smidwap)
- Do not lookup for hints if it was explicitly given false.
After #405 we added hint classes for the wrappers, but this has forced the
loading of the hint text doing I18n lookups, even though it was explicitly
given false. This checks for the option in
#has_hint?, avoiding the lookup in such cases. This issues has been caught with #627, thanks to (@shwoodard). - Fix default I18n lookup for association input. (@nashby) Closes #679.
- Fix escaping issue in
label_inputcomponent (@allomov)
Please check v2.0 for previous changes.