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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f93bc619b22e4fe6f7724048660ec707a7361024f8a63fbe5b86d776e1ff79d
4
- data.tar.gz: 2ea9648ea293e200ec802c79f52c191df2d7d93b0e1b89e7c2d76e0b60ddca50
3
+ metadata.gz: 9d29cd164f2420466a67c8580ac6e282ecf4f55eacbb8872d56fb0e3790c7bcc
4
+ data.tar.gz: 0c4bd6e62b8735a20334fb0caf4147d830d8f9c5559f6973fb9816f268f2d80f
5
5
  SHA512:
6
- metadata.gz: 8aca32e573168d25062aa6b8548a5230cf31a692dbb9cafb6b4c8ee10552bf79c837f985d2affd916dc328638b4bd461cde21276e2301c500a874a7d055fb327
7
- data.tar.gz: b7752b7409811ac7e6ddd609416f9d94b7712f42130a5ad59cdc0201934f5bfb81f0c47ad65ca2246760843fd48d1fb2bde59a8a19355dac8348208abc78708a
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, :keyup, 'form-control')
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, :keyup, 'form-control')
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
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante