5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 05:06:22 +00:00

fix: eliminar nice_partials

a veces hacía que se rendericen los campos dos veces!
This commit is contained in:
f 2024-05-23 15:23:24 -03:00
parent 56003508a7
commit 3552770076
No known key found for this signature in database
3 changed files with 3 additions and 4 deletions

View file

@ -86,7 +86,6 @@ gem 'after_commit_everywhere', '~> 1.0'
gem 'aasm'
gem 'que-web'
gem 'nanoid'
gem 'nice_partials'
# database
gem 'hairtrigger'

View file

@ -385,8 +385,6 @@ GEM
net-protocol
net-ssh (7.2.1)
netaddr (2.0.6)
nice_partials (0.10.0)
actionview (>= 4.2.6)
nio4r (2.7.0-x86_64-linux-musl)
nokogiri (1.16.0-x86_64-linux-musl)
mini_portile2 (~> 2.8.2)
@ -682,7 +680,6 @@ DEPENDENCIES
mobility
nanoid
net-ssh
nice_partials
nokogiri
pg
pg_search

View file

@ -23,6 +23,9 @@
local_assigns[:hide_actions] << 'click->modal#hide'
local_assigns[:modal_content_attributes] ||= {}
-# XXX: Necesario para poder generar todas las demás
= yield
.modal.fade{ tabindex: -1, aria: { hidden: 'true' }, data: { target: 'modal.modal' } }
.modal-backdrop.fade{ data: { target: 'modal.backdrop', action: local_assigns[:hide_actions].join(' ') } }
.modal-dialog.modal-dialog-scrollable.modal-dialog-centered