sinatra-hexacta 0.3.10 → 0.3.11

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
  SHA256:
3
- metadata.gz: a30ba69a60abe8d2c4d4759c82edf7afd5d079a7dc4e1b9fa44f4de0ca9ec141
4
- data.tar.gz: b818302b6ff34967f195d6e59d67b65feafa6e1de6ab41747b64cb6550cf30ea
3
+ metadata.gz: 2bc5e963847bbe5ea1241667df3c48dec7f6befb358424e26e57bdf19ad53fa8
4
+ data.tar.gz: 9cfac8d0ca834cc5370eac6011d9fa1dc0d0f78d268c0b32d2ac74e6309a23f9
5
5
  SHA512:
6
- metadata.gz: 0e45db2dad9dc2c44115290af7f7dc3d2edc9756f8ead2f7a3c3ede018ef779b61bcb911e49f4d760bdbc164b58506663c533dc15e79a1bcd77581c94bbd5752
7
- data.tar.gz: 8f71f3b2d0fda29e8c26a48d45968e2ad2822d030d3549c11ada3201494bd4082458f91387253e4bb140e4582db413325cf4689c6c170578f60ef42cdd404ce5
6
+ metadata.gz: 91435e8036b49e137c24fc845a424044dd1a2e2bfc851c69f42872dbb14ca8e675b691e927afae746f42042336ef67b3c62cee12f0a86f821d34616191b1bedb
7
+ data.tar.gz: 6df3726e7cbbb75e7d8d7b5d7b5e20bbab32f762b2ab46e180ba372075409c0bb8e8f88c3a7ea2fe6992d4d4e6ba61783f14da39c1da26b726824937a1edab36
@@ -2,11 +2,13 @@
2
2
  - required = false
3
3
  - if !(defined? id) || id.blank?
4
4
  - id = "#{name}_#{rand(1000)}"
5
+ - unless defined? clazz
6
+ - clazz = nil
5
7
 
6
8
  .form-group.fg-float
7
9
  label #{title}
8
10
  .fg-line
9
11
  -if required
10
- input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" required="" value="#{value}"
12
+ input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" required="" class="#{clazz}" value="#{value}"
11
13
  -else
12
- input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" value="#{value}"
14
+ input.form-control.date-picker.fg-input id="#{id}" type="text" name="#{name}" class="#{clazz}" value="#{value}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-hexacta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger