justinfrench/formtastic — Issue #713: order :errors, :hints
Author: ermolaev
Created: 2011-10-09 21:42:49+00:00
State: open

\gems\formtastic-2.0.2\lib\formtastic\inputs\base\wrapping.rb

written line 11
[template.capture(&block), error_html, hint_html].join("\n").html_safe

maybe better
[template.capture(&block), hint_html, error_html].join("\n").html_safe

and following code does not work
Formtastic::SemanticFormBuilder.inline_order = [:input, :hints, :errors]
Formtastic::SemanticFormBuilder.custom_inline_order[:checkbox] = [:errors, :hints, :input]
Formtastic::SemanticFormBuilder.custom_inline_order[:select] = [:hints, :input, :errors]