better_form 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ module BetterForm
23
23
  value = options.delete(:value)
24
24
  cancel_url = options.delete(:cancel)
25
25
  if cancel_url
26
- super(value, options) + 'or' + link_to('Cancel', cancel_url)
26
+ super(value, options) + "<span class='cancel'>or #{link_to('Cancel', cancel_url)}</span>".html_safe
27
27
  else
28
28
  super(value, options)
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module BetterForm
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: better_form
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.1
5
+ version: 0.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nicholas Firth-McCoy
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-24 00:00:00 +11:00
13
+ date: 2011-03-16 00:00:00 +11:00
14
14
  default_executable:
15
15
  dependencies: []
16
16