semantic_form_for 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -55,10 +55,10 @@ class SemanticFormFor::FormBuilder < ActionView::Helpers::FormBuilder
|
|
55
55
|
end
|
56
56
|
|
57
57
|
BUTTONS.each do |button|
|
58
|
-
define_method button do |
|
58
|
+
define_method button do |*args|
|
59
59
|
template.capture_haml do
|
60
60
|
template.haml_tag(:li, :class => button) do
|
61
|
-
template.haml_concat super(
|
61
|
+
template.haml_concat super(*args)
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|