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 +4 -4
- data/app/helpers/lato/components_helper.rb +2 -2
- data/app/views/lato/components/_index.html.erb +1 -1
- data/lib/lato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df735930c50baedc7cd02983684c95b44df0ac32e3acdd3724cc0a8b6a017f3d
|
4
|
+
data.tar.gz: b5442d7576eed9fa4ccab09472895ebfdf1ee47ab66bf81c90ce71efff38b31f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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, :
|
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, :
|
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
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
|
+
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-
|
11
|
+
date: 2022-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|