noodall-form-builder 0.5.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  <%= (f.label field.underscored_name, field.label) %><%= (field.required ? content_tag('span', ' *', :class => 'required') : '') %>
2
2
  <% field_options = field.options.split(',').collect{|o| o.strip!;[o,o]} %>
3
- <%= f.select field.underscored_name, options_for_select(field_options, form_response.send(field.underscored_name)), :multiple => nil, :size => [field_options.size, 10].min %>
3
+ <%= f.select field.underscored_name, options_for_select(field_options, form_response.send(field.underscored_name)), {}, { :class => 'multi', :multiple => true, :size => [field_options.size, 10].min } %>
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module FormBuilder
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-form-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-02-03 00:00:00.000000000Z
14
+ date: 2012-03-05 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
18
- requirement: &13206780 !ruby/object:Gem::Requirement
18
+ requirement: &16811260 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 1.0.0
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *13206780
26
+ version_requirements: *16811260
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: fastercsv
29
- requirement: &13206260 !ruby/object:Gem::Requirement
29
+ requirement: &16810760 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *13206260
37
+ version_requirements: *16810760
38
38
  description: Functionality for building custom forms
39
39
  email: []
40
40
  executables: []
@@ -176,7 +176,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  segments:
178
178
  - 0
179
- hash: 2489411277551539261
179
+ hash: 1395989031952630568
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  none: false
182
182
  requirements:
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  version: 1.3.6
186
186
  requirements: []
187
187
  rubyforge_project:
188
- rubygems_version: 1.8.6
188
+ rubygems_version: 1.8.16
189
189
  signing_key:
190
190
  specification_version: 3
191
191
  summary: Noodall Form Builder