lato 0.1.13 → 0.1.15

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: f93321fb67bf24765adb2ff3ae1a67cc2682b6e6ab383bb7e2f5a58cdcb75396
4
- data.tar.gz: c1f3b7205cca1e6c3a702c27d259cb832a0bbd07aa7f51efe1d5ee3215dba29b
3
+ metadata.gz: 165ff7de5f046fc6138a772c4b7e5fa8029e5704db2dbb9200c9cf87c092117f
4
+ data.tar.gz: 354732818c512c96d693d2822e617dd6d622423c4a586b55c02243b8895f2b5b
5
5
  SHA512:
6
- metadata.gz: 450506d389f1716802a050dbe45ac5ae28ea022c6748eb1eafef540597875a2e003e190b0784b0573f3451f212169dd24d49614519e5357c11a420d295b9a5a3
7
- data.tar.gz: 405ebc217841f3dce7fdd69257124bbed51ead1c9731d0be9de4649eba59b4949041932f5f222875a23c98cb658191f76598f8473c6dfc22dc6f78f69a2c9dcb
6
+ metadata.gz: ef27dc775bde3bb118e8b9f766b9cf65dd79678a4d7ead74ab430ecaccffa4f6228b9f92365ce18929c750efd7db51f6c3f52a3bd6c8d6660c15e5a9487b00e2
7
+ data.tar.gz: 81b008e45fd5ff39e4c781b646934cb5b4ca653976fde841e035c1b1c07655538258272602e911c64d3a2d6338d1bafc26432d9b3a40b400428ddd3fa1fdc7a4
data/README.md CHANGED
@@ -98,4 +98,3 @@ The gem is available as open source under the terms of the [MIT License](https:/
98
98
 
99
99
  ## To do
100
100
  - Gestione abbonamenti e acquisti singoli con integrazione Stripe
101
- - Gestione input file operazione
@@ -7,9 +7,9 @@
7
7
  Ti informiamo che è stato rilasciato un <b>aggiornamento della nostra privacy policy</b>.<br>
8
8
  Per continuare a utilizzare <%= Lato.config.application_title %> è necessario prendere visione e accettare la nuova privacy policy.<br>
9
9
  </p>
10
- <%= form_with model: @session.user, url: lato.account_update_accepted_privacy_policy_version_action_path, data: { turbo_frame: '_self' } do |form| %>
10
+ <%= form_with url: lato.account_update_accepted_privacy_policy_version_action_path, data: { turbo_frame: '_self' } do |form| %>
11
11
  <%= lato_form_errors @session.user, class: %w[mb-3] %>
12
- <%= lato_form_item_input_check form, :accepted_privacy_policy_version, "Dichiaro di aver letto e accettato la <a href=#{Lato.config.legal_privacy_policy_url} target=_blank>privacy policy</a>.", checked: false, required: true %>
12
+ <%= lato_form_item_input_check form, :accepted_privacy_policy_version, "Dichiaro di aver letto e accettato la <a href=#{Lato.config.legal_privacy_policy_url} target=_blank>privacy policy</a>.", checked: false, value: , value: Lato.config.legal_privacy_policy_version, required: true %>
13
13
 
14
14
  <div class="mt-3">
15
15
  <%= lato_form_submit form, 'Conferma' %>
@@ -7,9 +7,9 @@
7
7
  Ti informiamo che è stato rilasciato un <b>aggiornamento dei nostri termini e condizioni</b> di utilizzo.<br>
8
8
  Per continuare a utilizzare <%= Lato.config.application_title %> è necessario prendere visione e accettare i nuovi termini.<br>
9
9
  </p>
10
- <%= form_with model: @session.user, url: lato.account_update_accepted_terms_and_conditions_version_action_path, data: { turbo_frame: '_self' } do |form| %>
10
+ <%= form_with url: lato.account_update_accepted_terms_and_conditions_version_action_path, data: { turbo_frame: '_self' } do |form| %>
11
11
  <%= lato_form_errors @session.user, class: %w[mb-3] %>
12
- <%= lato_form_item_input_check form, :accepted_terms_and_conditions_version, "Dichiaro di aver letto e accettato i <a href=#{Lato.config.legal_terms_and_conditions_url} target=_blank>termini e condizioni</a> di utilizzo.", checked: false, required: true %>
12
+ <%= lato_form_item_input_check form, :accepted_terms_and_conditions_version, "Dichiaro di aver letto e accettato i <a href=#{Lato.config.legal_terms_and_conditions_url} target=_blank>termini e condizioni</a> di utilizzo.", checked: false, value: Lato.config.legal_terms_and_conditions_version, required: true %>
13
13
 
14
14
  <div class="mt-3">
15
15
  <%= lato_form_submit form, 'Conferma' %>
@@ -1,8 +1,10 @@
1
1
  <%= turbo_frame_tag "lato_index_#{key}_#{model_name_underscore}", class: 'lato-index' do %>
2
2
 
3
- <%= form_tag request.url, method: :get, data: { turbo_frame: '_self' } do %>
3
+ <%= form_tag request.path, method: :get, data: { turbo_frame: '_self' } do %>
4
4
  <%= hidden_field_tag :key, key %>
5
- <%= hidden_field_tag :sort_by, params[:sort_by] %>
5
+ <% params.each do |k, v| %>
6
+ <%= hidden_field_tag k, v %>
7
+ <% end %>
6
8
 
7
9
  <% if false && browser.device.mobile? %>
8
10
 
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.13"
2
+ VERSION = "0.1.15"
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.13
4
+ version: 0.1.15
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-12-04 00:00:00.000000000 Z
11
+ date: 2022-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails