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 +4 -4
- data/lib/sinatra/views/inputs/input.slim +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b97b62887d184597d148d7130331462bd070240e1af4b83406f897c228f08583
|
4
|
+
data.tar.gz: d53746e2585c46bd57ea1fd242df5cad27ca7169c7505246ff09d94ad3f28be1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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}"
|