Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup.
uuid
columns.:unless_blank
option to the wrapper API. @IanVaughan
full_error
component. @laurocaetano
scope
to be used on associations. @laurocaetano
condition
in the object context. @laurocaetano
order
before calling it. @laurocaetano
:item_wrapper_tag
to wrap the content and add label
when using boolean_style
with :nested
@kassio and @erichkist
input_field
uses the same wrapper as input but only with attribute components. @nashby
for
attribute to label
when collections are rendered as radio or checkbox @erichkist, @ulissesalmeida and @fabioyamate
include_default_input_wrapper_class
config @luizcosta
datetime
, date
and time
input types to their respective HTML5 input tags
when the :html5
is set to true
@volmer
boolean_label_class
config.:html
option to include additional attributes on custom wrappers @remofritzsche and @ulissesalmeida
inline_label
options of boolean input if it is present.label_text
proc at the wrapper level. @NOX73
label_text
proc now receive three arguments (label, request, and if the label was explicit). @timscott
:include_blank
and :prompt
when :translate
is used as value. @haines
required
attribute if it has prompt
option. @nashby
This version add support to Rails 4 and drops entirely support to Rails 3 and Ruby 1.8. If you want support to these version use Simple Form 2.1
input_class
global config option to set a class to be generated in all inputs.:value_method
of collection tags from :last
to :second
@nashby
Proc
object in :conditions
option of associations @bradly
input_field
supports html5
component @nashby
field_error_proc
configurable @dfens
size
attribute automatically and the default_input_size
setting
is now deprecated.DateTimeInput#label_target
method to work with string values in I18n.t('date.order')
(default
behaviour in Rails 4)
Closes #846 @mjankowski
:label
in generate_additional_classes_for
config option @nashby
Relation#all
from Rails 4.validates_format_of
with :without
option @glebm