pxs-forms 0.0.20 → 0.1.1

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: c297ce02e79fa13a419056d80bd3be172879d097467705a7273a0c6db5971db2
4
- data.tar.gz: 0c976d407cb6d499681cedfd5bb2aa2effa9f81a290d581c7b2297b8638b9ae2
3
+ metadata.gz: f882bf75ec6ef1fa8258aac92f9aab8766a2c5a9522340b4c69d8c601fc07df5
4
+ data.tar.gz: 1807072c6f54b2cef4739569c825e61fca4b775955c641a7f8a5dd71ea8e6e2e
5
5
  SHA512:
6
- metadata.gz: 2ac97f11561a6ceb776e9bc1386f63b0fdb2f1b40e1f0f3b9c9355064a47ecf20eda648576ba45ba7e2d5f0630907c422d0087466ca25ea214e5ad25aa46fd84
7
- data.tar.gz: 6e51035e28ff182ebd434b0b81df09bc6ea3495968737cf66eb38a8ee80932ff5bcfae16cf564d8e08652d74fe019b7a48d72d036f71c4e11b8d6ed053c4b7bb
6
+ metadata.gz: f826272e261aba37f2c8dcf133c04a741f6144b13e58d40b9a542782e559484fb253db425f1dcc477a70730f8200c54ad651e9cf5fd1488c68040274b6b04809
7
+ data.tar.gz: 798c44d36089f05471e182222acb21e37c14f0558deac3af84be12c82f79cc1df63c59c546686d2f94ff0234d2e917a6b788bfad82133e4c049a8bcc2b597d89
@@ -2,8 +2,8 @@ class ModelFormBuilder < ActionView::Helpers::FormBuilder
2
2
 
3
3
  delegate :tag, :safe_join, to: :@template
4
4
 
5
- include ModelsHelper
6
- include LinksHelper
5
+ include Pxs::Forms::ModelsHelper
6
+ include Pxs::Forms::LinksHelper
7
7
 
8
8
  attr_reader :input_name_prefix, :input_id_prefix
9
9
 
@@ -358,9 +358,6 @@ class ModelFormBuilder < ActionView::Helpers::FormBuilder
358
358
  else
359
359
  options.merge(user_options)
360
360
  end
361
-
362
- # filter out hash keys with an empty/nil value
363
- options.filter do |key,value| value.present? end
364
361
  end
365
362
 
366
363
  def base_input_name
@@ -1,7 +1,7 @@
1
1
  module Pxs
2
2
  module Forms
3
3
  module ModelsHelper
4
- include LinksHelper
4
+ include Pxs::Forms::LinksHelper
5
5
  include ActionView::Context
6
6
 
7
7
  # base_path: the model's CRUD base path as an URL string, like the result of article_path(:id)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pxs
4
4
  module Forms
5
- VERSION = "0.0.20"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pxs-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Poubelle
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-01 00:00:00.000000000 Z
11
+ date: 2025-03-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: