pg_rails 7.0.8.pre.alpha.22 → 7.0.8.pre.alpha.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae6d0cc93b3b684d8fa67dea343e3a27c6714a79ff127644be1a9418194286f9
4
- data.tar.gz: 9fb6a2758a1429f13e6ba6bc9b23d7521d271008e1d22435a78d850565749ab6
3
+ metadata.gz: 791fd0883c4eaa68bdcdac6f07a6fe6a9aa7d8a3766fb4f6e46d655bb20ff502
4
+ data.tar.gz: b95cb120a61526e67b647c7531eaf8b306edd9ef7dab778e6f90f33134547415
5
5
  SHA512:
6
- metadata.gz: 3945bc32b4f8a937a8bc550b2059e40fced9fd08ec3f6bf1d8364774886a5da2184b9938d93441bc7d871492970371b243df8b13a9ba0553fd4de3a58c73cbc1
7
- data.tar.gz: 43b6e055fbdc01855f360ee47aaa043cfd6f5ceb9fa03b22d8e9b12ad730323afbc32281d23ee5a1ba3746fc8f4593c5c2bed5fa677bd0edb63418217ba0a48d
6
+ metadata.gz: 2cc9a7cb7e04cda3597faf07a4fdd22832bdf9cf4abb299f762eec83eb87338ee4e4b65b1381d5b75ace96787e8c71356ed27f9ada651d1553c6b1055fe62fdf
7
+ data.tar.gz: 41d07925fd7565e2ce348df8c747502c2cdf78540bfa6e672dfb2e1fb753885e1dbbff249106d1fea13218f69b587d6053dbbec29302fbeaa83823b946a369ee
@@ -1,27 +1,29 @@
1
1
  - content_for(:title, @clase_modelo.nombre_plural)
2
2
  - content_for :actions do
3
- button.btn.btn-sm.btn-outline-primary[type="button" data-bs-toggle="collapse"
4
- data-bs-target="#filtros" aria-expanded="false"
5
- aria-controls="filtros"]
6
- span.bi.bi-funnel-fill
7
- span.d-none.d-sm-inline Filtrar
8
- .ms-1
3
+ - if @filtros.present?
4
+ button.btn.btn-sm.btn-outline-primary[type="button" data-bs-toggle="collapse"
5
+ data-bs-target="#filtros" aria-expanded="false"
6
+ aria-controls="filtros"]
7
+ span.bi.bi-funnel-fill
8
+ span.d-none.d-sm-inline Filtrar
9
+ .ms-1
9
10
  = @clase_modelo.new.decorate.new_link
10
11
 
11
- .collapse.border-bottom#filtros class="#{ 'show' if any_filter? }"
12
- .d-flex.align-items-center.p-2
13
- .px-2.d-none.d-sm-inline-block
14
- span.bi.bi-funnel-fill
15
- = form_tag nil, class: '', method: :get do
16
- .row.g-1
17
- = @filtros.filtros_html
18
- .col-auto
19
- = button_tag class: 'btn btn-sm btn-primary col-auto' do
20
- span.bi.bi-search
21
- .col-auto
22
- = link_to namespaced_path(@clase_modelo, clean: true),
23
- class: 'btn btn-sm btn-secondary col-auto' do
24
- | Limpiar
12
+ - if @filtros.present?
13
+ .collapse.border-bottom#filtros class="#{ 'show' if any_filter? }"
14
+ .d-flex.align-items-center.p-2
15
+ .px-2.d-none.d-sm-inline-block
16
+ span.bi.bi-funnel-fill
17
+ = form_tag nil, class: '', method: :get do
18
+ .row.g-1
19
+ = @filtros.filtros_html
20
+ .col-auto
21
+ = button_tag class: 'btn btn-sm btn-primary col-auto' do
22
+ span.bi.bi-search
23
+ .col-auto
24
+ = link_to namespaced_path(@clase_modelo, clean: true),
25
+ class: 'btn btn-sm btn-secondary col-auto' do
26
+ | Limpiar
25
27
 
26
28
  div
27
29
  - if @collection.any?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.0.8-alpha.22'
4
+ VERSION = '7.0.8-alpha.23'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.8.pre.alpha.22
4
+ version: 7.0.8.pre.alpha.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso