lato 0.1.3 → 0.1.5
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 +8 -2
- 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: 9d29cd164f2420466a67c8580ac6e282ecf4f55eacbb8872d56fb0e3790c7bcc
|
4
|
+
data.tar.gz: 0c4bd6e62b8735a20334fb0caf4147d830d8f9c5559f6973fb9816f268f2d80f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22329d6c82353876aa4cab0adebf44837e6d44cb2303e66c78c4ea0b16c23d74001103816e7115dccbea37d27c2ee885d206d47f362b27992cbb4a8e2ef0cf4c
|
7
|
+
data.tar.gz: fa749af16891fbea3c7b460e8a5938bc259ad776f1154a6951d8e44c199502fe7708bcb04d4812f346271b52481b30309a5e556121a93c2bc54bae0c602bc459
|
@@ -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
|
|
@@ -154,13 +160,13 @@ module Lato
|
|
154
160
|
end
|
155
161
|
|
156
162
|
def lato_form_item_input_select(form, key, select_options = [], options = {})
|
157
|
-
_lato_form_input_options(form, key, options, :
|
163
|
+
_lato_form_input_options(form, key, options, :change, 'form-control')
|
158
164
|
|
159
165
|
form.select key, select_options, {}, options
|
160
166
|
end
|
161
167
|
|
162
168
|
def lato_form_item_input_file(form, key, options = {})
|
163
|
-
_lato_form_input_options(form, key, options, :
|
169
|
+
_lato_form_input_options(form, key, options, :change, 'form-control')
|
164
170
|
|
165
171
|
form.file_field key, options
|
166
172
|
end
|
data/lib/lato/version.rb
CHANGED