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 +4 -4
- data/lib/sinatra/views/inputs/date.slim +4 -2
- 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: 2bc5e963847bbe5ea1241667df3c48dec7f6befb358424e26e57bdf19ad53fa8
|
4
|
+
data.tar.gz: 9cfac8d0ca834cc5370eac6011d9fa1dc0d0f78d268c0b32d2ac74e6309a23f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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}"
|