summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/extensions/simple_form.rb2
-rw-r--r--lib/leap_web/version.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/simple_form.rb b/lib/extensions/simple_form.rb
index f255917..1e30e9f 100644
--- a/lib/extensions/simple_form.rb
+++ b/lib/extensions/simple_form.rb
@@ -2,7 +2,7 @@ module WrappedButton
def wrapped_button(*args, &block)
template.content_tag :div, :class => "form-actions" do
options = args.extract_options!
- options[:class] = ['btn-primary', options[:class]].compact
+ options[:class] = ['btn-primary', options[:class]].compact.flatten.join(' ')
args.unshift :loading
args << options
if cancel = options.delete(:cancel)
diff --git a/lib/leap_web/version.rb b/lib/leap_web/version.rb
index dc76dc6..6fc5531 100644
--- a/lib/leap_web/version.rb
+++ b/lib/leap_web/version.rb
@@ -1,3 +1,3 @@
module LeapWeb
- VERSION = "0.8.0" unless defined?(LeapWeb::VERSION)
+ VERSION = "0.8.1" unless defined?(LeapWeb::VERSION)
end