forma 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forma/field.rb +1 -1
- data/lib/forma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8da770ee005ec01e10acf9bc0cef022021e75db7
|
4
|
+
data.tar.gz: f016e04b14b0342d6d5f56a6c24c06cb0092546d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b93a000481de8b433098f0b14d605bb6472db67ee5d26397e04477775681645d8f30e4019d872bcff58d1e0ae743e536fccd9df1d3c32c7d6bea5c2372f69b4
|
7
|
+
data.tar.gz: 217839f7cd0d5d2deebcb3512aae2911896453b50c7a6b6e8d93f88a076a30b7084ccbb2d43fc44c0f0b995ff4a16488c7f862134f3e02ce090e27a5e8eb8256
|
data/lib/forma/field.rb
CHANGED
@@ -368,7 +368,7 @@ module Forma
|
|
368
368
|
|
369
369
|
def edit_element(val)
|
370
370
|
e1 = el('input', attrs: { type: 'hidden', name: parameter_name, value: "0"})
|
371
|
-
e2 = el('input', attrs: { type: 'checkbox', name: parameter_name, checked: ('checked' if val), value: "1"})
|
371
|
+
e2 = el('input', attrs: { id: self.id, type: 'checkbox', name: parameter_name, checked: ('checked' if val), value: "1"})
|
372
372
|
el('span', children: [ e1, e2 ])
|
373
373
|
end
|
374
374
|
end
|
data/lib/forma/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Kurashvili
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|