sinatra-hexacta 0.9.6 → 0.9.7

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: 0c6276d84b38da262a3d2802de9729fa29f08cb1440c90e6062b5b200169d67c
4
- data.tar.gz: 7e0d3607d2705962738c418637dd17974784d176411db817bb503ec5d1c2297f
3
+ metadata.gz: b97b62887d184597d148d7130331462bd070240e1af4b83406f897c228f08583
4
+ data.tar.gz: d53746e2585c46bd57ea1fd242df5cad27ca7169c7505246ff09d94ad3f28be1
5
5
  SHA512:
6
- metadata.gz: 17e38fef6e64754d45fbcff050d31a75431cab62f70b557cd8c578bbcc121e77cb98e1e1ab7eb2cf7d674539f0693632fb348fc77d5b3fc26cb32d80feff5a23
7
- data.tar.gz: 1f9e937e61c3117bec025ccbc9678a0a1832922cd027c943fab1cf1de67e1dd608874ec44e85b57cf3de6eb3e6e6f9d30258463711bcba99623526f280dbb33b
6
+ metadata.gz: 16cebd71cab149bfd4fc46b6fd002ac5a46806cf06c1d2ed5b81837aab12ff0e604cb035b42ae15e44283c411450d31255c02f39cec841984fb945a8621970a5
7
+ data.tar.gz: 770b3423e956d9428fdf5cd126aaff360f93cc6609c296103883bb6b329656fc5572ae6b790fdd7a32cc462780d87febe55293bed537c41497086af1b6236c00
@@ -10,21 +10,23 @@
10
10
  -readonly = false
11
11
  - unless defined? clazz
12
12
  - clazz = nil
13
+ - unless defined? step
14
+ - step = 1
13
15
 
14
16
  -if required
15
17
  .form-group.has-feedback.has-success
16
18
  label #{title}
17
19
  .fg-line
18
20
  -if readonly
19
- input.form-control.fg-input id="#{id}" type="#{type}" placeholder="#{placeholder}" name="#{name}" required="" value="#{value}" class="#{clazz}" onkeyup="#{onkeyup}" readonly=''
21
+ input.form-control.fg-input id="#{id}" type="#{type}" placeholder="#{placeholder}" name="#{name}" required="" value="#{value}" class="#{clazz}" onkeyup="#{onkeyup}" readonly='' step="#{step}"
20
22
  -else
21
- input.form-control.fg-input id="#{id}" type="#{type}" placeholder="#{placeholder}" name="#{name}" required="" value="#{value}" class="#{clazz}" onkeyup="#{onkeyup}"
23
+ input.form-control.fg-input id="#{id}" type="#{type}" placeholder="#{placeholder}" name="#{name}" required="" value="#{value}" class="#{clazz}" onkeyup="#{onkeyup}" step="#{step}"
22
24
 
23
25
  -else
24
26
  .form-group
25
27
  label #{title}
26
28
  .fg-line
27
29
  -if readonly
28
- input.form-control.fg-input id="#{id}" type="#{type}" placeholder="#{placeholder}" name="#{name}" value="#{value}" onkeyup="#{onkeyup}" class="#{clazz}" readonly=''
30
+ input.form-control.fg-input id="#{id}" type="#{type}" placeholder="#{placeholder}" name="#{name}" value="#{value}" onkeyup="#{onkeyup}" class="#{clazz}" readonly='' step="#{step}"
29
31
  -else
30
- input.form-control.fg-input id="#{id}" type="#{type}" placeholder="#{placeholder}" name="#{name}" value="#{value}" onkeyup="#{onkeyup}" class="#{clazz}"
32
+ input.form-control.fg-input id="#{id}" type="#{type}" placeholder="#{placeholder}" name="#{name}" value="#{value}" onkeyup="#{onkeyup}" class="#{clazz}" step="#{step}"
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.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger