base_editing_bootstrap 0.10.2 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/app/helpers/utilities/search_helper.rb +5 -2
- data/app/views/base_editing/_search.html.erb +1 -1
- data/config/locales/it.yml +1 -0
- data/lib/base_editing_bootstrap/VERSION +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd1a40db07e52860bd82ebe871ab561cda1054d92fdede68dd8faa9a6f8daa82
|
4
|
+
data.tar.gz: 372073cf6b6f99c9697dc836dc19c3045d74d0c5594f6c05c7cf83c822907b26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 746487a0bf779295a741a85074eaca9eb0413bc8696890f7d25ab83fe59d30ec9c2dab83f0c5a231241ee76b88e4b942beabffee281297b54bbc587e7e864be6
|
7
|
+
data.tar.gz: 4a18b6485ae5befd52a3319087cc976756a67458c7e24cb3086c5ffe941dbbc08d363b6a4cb5113d9ca07ea542b610d9d128d7f77c8bbffe52097e7dbcf8dc8d
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
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
|
+
## 0.11.0 - 2024-09-05
|
6
|
+
#### Features
|
7
|
+
- Add clear search button - (f989c17) - Marino Bonetti
|
8
|
+
#### Miscellaneous Chores
|
9
|
+
- Add ask otp - (51be33d) - Marino Bonetti
|
10
|
+
|
11
|
+
- - -
|
12
|
+
|
5
13
|
## 0.10.2 - 2024-09-05
|
6
14
|
#### Bug Fixes
|
7
15
|
- Force to_s ransackable_attributes - (a5c8cbb) - Marino Bonetti
|
@@ -6,7 +6,7 @@ module Utilities
|
|
6
6
|
# Per aggiungere bottoni:
|
7
7
|
# ES:
|
8
8
|
# def search_form_buttons(ransack_form, &block)
|
9
|
-
# super #<- questo serve per
|
9
|
+
# super #<- questo serve per costruire i bottoni definiti da super
|
10
10
|
# content_for(:search_form_buttons) do #<- questo serve per aggiungere al content_for un'altro bottone
|
11
11
|
# link_to "xls", admins_log_alarms_path(params: {q: params.permit(q:{})[:q]}, format: :xlsx), class: "btn btn-info", target: :_blank
|
12
12
|
# end
|
@@ -15,7 +15,10 @@ module Utilities
|
|
15
15
|
# @param [Ransack::Helpers::FormBuilder] ransack_form
|
16
16
|
def search_form_buttons(ransack_form)
|
17
17
|
content_for(:search_form_buttons) do
|
18
|
-
ransack_form.submit(I18n.translate('.search'), class: "btn btn-primary")
|
18
|
+
ransack_form.submit(I18n.translate('.search'), class: "btn btn-primary") +
|
19
|
+
link_to(I18n.translate('.clear_search'),
|
20
|
+
index_custom_polymorphic_path(ransack_form.object.klass),
|
21
|
+
class: "btn btn-secondary")
|
19
22
|
end
|
20
23
|
end
|
21
24
|
|
data/config/locales/it.yml
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.11.0
|