lato 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/helpers/lato/components_helper.rb +6 -0
- data/lib/lato/version.rb +1 -1
- 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: 2c8df10dce1936e269f794531e4d480716507e93686e45b542a0e053bab8da8e
|
|
4
|
+
data.tar.gz: 5ec345be789e08bd52396435663618b87f698ec1b527586a75e8dc8cd60e0e0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c5342b844effa5154b20415625da31bc645c9fc0a55202a526ca2677f9bca827e7533b19031b473bc5589f9363cb17b4f65e5924a2821a2f7bcc2f731e64be0
|
|
7
|
+
data.tar.gz: 01462524e3f3d18f9a04ae459f65be13a5489fe7e884c52f77a9c6fad025f5c6aa09bdcb2fe06b36e11a20e3c81e5a764be92dd0b38c439d7a422fe389c31832
|
|
@@ -130,6 +130,12 @@ module Lato
|
|
|
130
130
|
form.text_field key, options
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
+
def lato_form_item_input_number(form, key, options = {})
|
|
134
|
+
_lato_form_input_options(form, key, options, :keyup, 'form-control')
|
|
135
|
+
|
|
136
|
+
form.number_field key, options
|
|
137
|
+
end
|
|
138
|
+
|
|
133
139
|
def lato_form_item_input_email(form, key, options = {})
|
|
134
140
|
_lato_form_input_options(form, key, options, :keyup, 'form-control')
|
|
135
141
|
|
data/lib/lato/version.rb
CHANGED