lato 0.1.4 → 0.1.6

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: 2c8df10dce1936e269f794531e4d480716507e93686e45b542a0e053bab8da8e
4
- data.tar.gz: 5ec345be789e08bd52396435663618b87f698ec1b527586a75e8dc8cd60e0e0f
3
+ metadata.gz: df735930c50baedc7cd02983684c95b44df0ac32e3acdd3724cc0a8b6a017f3d
4
+ data.tar.gz: b5442d7576eed9fa4ccab09472895ebfdf1ee47ab66bf81c90ce71efff38b31f
5
5
  SHA512:
6
- metadata.gz: 4c5342b844effa5154b20415625da31bc645c9fc0a55202a526ca2677f9bca827e7533b19031b473bc5589f9363cb17b4f65e5924a2821a2f7bcc2f731e64be0
7
- data.tar.gz: 01462524e3f3d18f9a04ae459f65be13a5489fe7e884c52f77a9c6fad025f5c6aa09bdcb2fe06b36e11a20e3c81e5a764be92dd0b38c439d7a422fe389c31832
6
+ metadata.gz: 61b499814b967a6d6eb46cff9de9d4df83104a6487bdcc2bd876db7b9d53477e8b72df26de44182b4f8b7ddadf542b324652ccefea1bf7b460986189dd25d337
7
+ data.tar.gz: c68a2c8f7682d11eeef3462e0f940747f3cf370f9e5b3fc6cc370907c49fd57ce0a9aa42dc45850957555cd4c5885456cc2fb7583cddcf43c3dfaec86c6c9a3a
@@ -160,13 +160,13 @@ module Lato
160
160
  end
161
161
 
162
162
  def lato_form_item_input_select(form, key, select_options = [], options = {})
163
- _lato_form_input_options(form, key, options, :keyup, 'form-control')
163
+ _lato_form_input_options(form, key, options, :change, 'form-control')
164
164
 
165
165
  form.select key, select_options, {}, options
166
166
  end
167
167
 
168
168
  def lato_form_item_input_file(form, key, options = {})
169
- _lato_form_input_options(form, key, options, :keyup, 'form-control')
169
+ _lato_form_input_options(form, key, options, :change, 'form-control')
170
170
 
171
171
  form.file_field key, options
172
172
  end
@@ -1,4 +1,4 @@
1
- <%= turbo_frame_tag "lato_index_#{key}_#{model_name_underscore}" do %>
1
+ <%= turbo_frame_tag "lato_index_#{key}_#{model_name_underscore}", class: 'lato-index' do %>
2
2
 
3
3
  <%= form_tag request.path, method: :get, data: { turbo_frame: '_self' } do %>
4
4
  <%= hidden_field_tag :key, key %>
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-25 00:00:00.000000000 Z
11
+ date: 2022-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails