wheelhouse-forms 1.2 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c534a2c55072660955b2bd53ec519420794a320c
4
- data.tar.gz: eb1167165d71b3f5e7a5998ebccfe09b39df6519
3
+ metadata.gz: 7444097ab4ea54c3c2ecca71f86eef1114d1c19e
4
+ data.tar.gz: 883db66b60d52273a7523bb05145b156ea20c36f
5
5
  SHA512:
6
- metadata.gz: 11fe367ca692b851a23bdc4bbc29b05b207c5c20f80c76b3bdc73d0b4028b4b048e96968e8fae3d8a915b8c12fd890fe5f46d5d86c6855458ce44292d9cf8de3
7
- data.tar.gz: 4f8c98b4920bf81e20c6676861303299731d43c3926b189fd894c5cf7c523aa8d17749a9dfbc783ec652685986a10843b552e9d039d5f00d74504049d52802ba
6
+ metadata.gz: 4ec4d2283e2b276b19bad963301773b25d096afcdfda7215c144536fb4cbe4657e7a1384706e825373e83efb7a557eff84f8ccedf329c6e5f4f0ce14ad80127e
7
+ data.tar.gz: 7d46fa3ffd93d90992357cd25f9a557634c0838559a4fbfeb740d377ec2c9b0af264efa1219f50abb52a61c6f50c51cbe9671b289bc1b93ed08cf424796df40e
@@ -52,8 +52,13 @@ private
52
52
 
53
53
  def render_text_field(field, value)
54
54
  labelled_field(field) do
55
- concat field.is_a?(Forms::Fields::TextArea) ? tag(:br) : " "
56
- concat value
55
+ if field.is_a?(Forms::Fields::TextArea)
56
+ concat tag(:br)
57
+ concat simple_format(value)
58
+ else
59
+ concat " "
60
+ concat value
61
+ end
57
62
  end
58
63
  end
59
64
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wheelhouse-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pohlenz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-11 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wheelhouse
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: 1.3.6
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.2.2
156
+ rubygems_version: 2.4.5
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Wheelhouse CMS Forms Plugin