formy 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/formy/form_builder.rb +1 -1
- data/lib/formy/version.rb +1 -1
- metadata +1 -1
data/lib/formy/form_builder.rb
CHANGED
@@ -84,7 +84,7 @@ module Formy
|
|
84
84
|
button_html = content.class==TrueClass ? button.to_s : content
|
85
85
|
|
86
86
|
# replaces the hash entry with html content_tag
|
87
|
-
buttons[button] = content_tag :
|
87
|
+
buttons[button] = content_tag :a, :class => ["formy-button", button.to_s] do
|
88
88
|
button_html
|
89
89
|
end
|
90
90
|
end
|
data/lib/formy/version.rb
CHANGED