corn_starch 1.9.20 → 1.9.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/corn_starch/field_helper.rb +5 -2
- data/lib/corn_starch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80c7ce82ba5ac0d13e7ca2229ad821e130d6d4df
|
4
|
+
data.tar.gz: 4caa12492a109e4c730309d175c9255e8358cf90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b097b7cfdf9c72ae17529aa60e63cb3e4c32aec1cd8f852b016bc0dd6b84b1460c453c24e29ed7ed34a4bd962faef81a534128a1742dd3f19934a920b3a6b3dd
|
7
|
+
data.tar.gz: 5b7ea80c1598635f7f1fbc430f756d2f34250a502efb05e1fe60312155e9988565ac2e2a506eb0454ab4ea72a5d9575c4fccbaafea38caabb554f10b4b3db313
|
@@ -9,7 +9,10 @@ module CornStarch
|
|
9
9
|
|
10
10
|
# Show Field Tag
|
11
11
|
def field_dsp_tag name, v = nil, &block
|
12
|
-
|
12
|
+
args = []
|
13
|
+
args.push v if v
|
14
|
+
args.push class: 'cs-field-value'
|
15
|
+
span_tag(name, class: 'cs-field-name') + span_tag(*args, &block)
|
13
16
|
end
|
14
17
|
end
|
15
|
-
end
|
18
|
+
end
|
data/lib/corn_starch/version.rb
CHANGED