happy-helpers 0.1.0.pre.3 → 0.1.0.pre.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/happy-helpers/helpers/forms.rb +1 -1
- data/lib/happy-helpers/version.rb +1 -1
- metadata +3 -3
@@ -135,7 +135,7 @@ module HappyHelpers
|
|
135
135
|
s << helpers.html_tag(:label, :class => 'for-field') { options[:label] }
|
136
136
|
s << helpers.date_time_select_tag(field_options.delete(:name), value, options)
|
137
137
|
when :radio
|
138
|
-
s << helpers.radio_buttons(field_options.delete(:name), options
|
138
|
+
s << helpers.radio_buttons(field_options.delete(:name), :options => (options.delete(:options) || ['Y', 'N']))
|
139
139
|
when :checkbox
|
140
140
|
s << helpers.checkbox_tag(field_options.delete(:name), value, options.merge(:text => options[:text] || label_text(name)))
|
141
141
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: happy-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.4
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tilt
|
16
|
-
requirement: &
|
16
|
+
requirement: &70120258018100 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '1.3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70120258018100
|
25
25
|
description: View helpers for your custom Rack app or framework.
|
26
26
|
email:
|
27
27
|
- hendrik@mans.de
|