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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16aaf06c56a52180e7b4aea01508cb4bdc9fcb74
4
- data.tar.gz: 4e1a5437ff778c502118d0cebc20fc97c03f2e8c
3
+ metadata.gz: 8da770ee005ec01e10acf9bc0cef022021e75db7
4
+ data.tar.gz: f016e04b14b0342d6d5f56a6c24c06cb0092546d
5
5
  SHA512:
6
- metadata.gz: 84ae57199011563b025ca909d30b6047bd3865e25a54dd8d606732b8631de098411743b58b60b6e002ec615f52c8206032320ffd27a44afdbd5b764e5b2ad18f
7
- data.tar.gz: c07481957ed0302a27a3325491e364fabf6effb634438ba6c15e6175e307fe23ddfa2057783942062486263444234e80a0b97d9e55c4b70eaac7c650bc7006bb
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
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Forma
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
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.2
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-01-04 00:00:00.000000000 Z
11
+ date: 2014-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler