base_editing_bootstrap 1.16.0 → 1.16.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: 8bd43711d49d65d4d703fb15361b66e41699844894e210b6509e7f6d35699b73
4
- data.tar.gz: e22898cbe35cfe6c2545c4f5fe711ef4354e6943376699057e9a814da6f778e5
3
+ metadata.gz: 3976906e4cb5569db0d3eb2fa5a26d5d244f73f8ee684678e322c81169b8b5ce
4
+ data.tar.gz: 49b3c0c7851fcbc1fea42b195b640d25c68341684596d47f3ce3f9aedde095c2
5
5
  SHA512:
6
- metadata.gz: ad5021b0cdc14d54b8c88e3f35e9d2f9ad897b977f245553959fb1b6a560b7773a085c40b3a42cb1cccdc307c3b3d87e0586679b1032515dae67e75c3b14beb2
7
- data.tar.gz: 4bd0b6718b83b4c8b7041e3ad94b229059909e7962ca361659230ac96b11df57c89c04e205ef6dd9fc3fd6d92e2f23445711197d0df0c3ec0d8da784fc7c5d2f
6
+ metadata.gz: 8169a66bf959a70659d7ea1346e39eb6760a17f757b076286aa134152d5c46d5fb11358a703a63f4646d2e707eb76f984591174793e33b2b11d41e1ce29c1378
7
+ data.tar.gz: da247811ccebc922a14c7c42bbad9546795a9351d2db93bb4a27b453ca4648555f5cb167a39e2420a2d51c173645af150c96f94ae311de8d0fe6cc7bbf603154
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
  All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
3
3
 
4
4
  - - -
5
+ ## 1.16.1 - 2026-07-03
6
+ #### Bug Fixes
7
+ - Search buttons with full text customizations (#28) - (bfc0a62) - Marino Bonetti
8
+
9
+ - - -
10
+
5
11
  ## 1.16.0 - 2026-06-24
6
12
  #### Features
7
13
  - Aggiunta possibilità di customizzare label in checkbox - (9c96ddf) - Marino Bonetti
@@ -17,9 +17,13 @@ module Utilities
17
17
  # @return [ActiveSupport::SafeBuffer]
18
18
  # @param [Ransack::Helpers::FormBuilder] ransack_form
19
19
  def search_form_buttons(ransack_form)
20
+
21
+ search_translation = ransack_form.object.klass.human_attribute_name("search_buttons.search", default: I18n.translate(".search"))
22
+ clear_translation = ransack_form.object.klass.human_attribute_name("search_buttons.clear_search", default: I18n.translate(".clear_search"))
23
+
20
24
  content_for(:search_form_buttons) do
21
- ransack_form.submit(I18n.translate('.search'), class: "btn btn-primary") +
22
- link_to(I18n.translate('.clear_search'),
25
+ ransack_form.submit(search_translation, class: "btn btn-primary") +
26
+ link_to(clear_translation,
23
27
  index_custom_polymorphic_path(ransack_form.object.klass),
24
28
  class: "btn btn-secondary")
25
29
  end
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.16.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: base_editing_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marino Bonetti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-24 00:00:00.000000000 Z
11
+ date: 2026-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails