diff --git a/Gemfile b/Gemfile index 500face1..30794e83 100644 --- a/Gemfile +++ b/Gemfile @@ -86,7 +86,6 @@ gem 'after_commit_everywhere', '~> 1.0' gem 'aasm' gem 'que-web' gem 'nanoid' -gem 'nice_partials' # database gem 'hairtrigger' diff --git a/Gemfile.lock b/Gemfile.lock index a0d203d5..db6b892d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/app/views/bootstrap/_modal.haml b/app/views/bootstrap/_modal.haml index f6dafc2a..28014c6a 100644 --- a/app/views/bootstrap/_modal.haml +++ b/app/views/bootstrap/_modal.haml @@ -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