pg_rails 7.0.8.pre.alpha.22 → 7.0.8.pre.alpha.24

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: a1e89c3437921de83649c5499b972831fe8bc9f4dd9d14ff01555825d0513f74
4
+ data.tar.gz: 137eb256a8ee10a7692d9d41df0c29b9f955ab0cbfe18776e16087ba9baf0278
5
5
  SHA512:
6
- metadata.gz: 3945bc32b4f8a937a8bc550b2059e40fced9fd08ec3f6bf1d8364774886a5da2184b9938d93441bc7d871492970371b243df8b13a9ba0553fd4de3a58c73cbc1
7
- data.tar.gz: 43b6e055fbdc01855f360ee47aaa043cfd6f5ceb9fa03b22d8e9b12ad730323afbc32281d23ee5a1ba3746fc8f4593c5c2bed5fa677bd0edb63418217ba0a48d
6
+ metadata.gz: d6b28222612e06a6007bde69fb0c85603a0f02281e18756e8371eb20aaf972d746886abb8077525f7bdf0a287879fe03f5ff1d0ffd77f035e4badef4ccb517f3
7
+ data.tar.gz: 8dce15fca468b6cd28c1254ccb05c5267e832f926c46c4b7b2ad49e4b03a2eb25e5202a7f9d6e2a1796abf885fb981dfe5c00410be0b6e57d0b7c5604eb169bf
@@ -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.24'
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.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso