semantic_form_for 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,9 +10,9 @@ class SemanticFormFor::FormBuilder < ActionView::Helpers::FormBuilder
|
|
10
10
|
FIELDSETS = [ :inputs, :buttons ]
|
11
11
|
|
12
12
|
INPUTS = [
|
13
|
-
*ActionView::Helpers::FormBuilder.instance_methods.grep
|
14
|
-
*ActionView::Helpers::FormBuilder.instance_methods.grep
|
15
|
-
*ActionView::Helpers::FormBuilder.instance_methods.grep
|
13
|
+
*ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_box$}),
|
14
|
+
*ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_field$}),
|
15
|
+
*ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_select$}),
|
16
16
|
]
|
17
17
|
|
18
18
|
BUTTONS = [ :submit ]
|