dohweb 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/doh/web/form_builder.rb +1 -0
  2. metadata +2 -2
@@ -23,6 +23,7 @@ class FormBuilder
23
23
 
24
24
  def checkbox(field, options = {})
25
25
  options[:checked] = 'checked' if model_value(field)
26
+ options.delete(:value)
26
27
  errorified_html(field, input_tag(groupified_name(field), :checkbox, options))
27
28
  end
28
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dohweb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-06-18 00:00:00.000000000 Z
13
+ date: 2012-07-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dohtest