From d8a7816c65d157034975dc0449787de8b22d54e5 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 27 May 2024 15:16:24 -0300 Subject: [PATCH] fix: cancelar el formulario --- app/views/posts/attributes/_new_has_many.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/posts/attributes/_new_has_many.haml b/app/views/posts/attributes/_new_has_many.haml index 724f8247..e35ef453 100644 --- a/app/views/posts/attributes/_new_has_many.haml +++ b/app/views/posts/attributes/_new_has_many.haml @@ -96,3 +96,5 @@ %div{ id: post_form_loaded_id } - content_for :"#{post_id}_footer" do = render 'bootstrap/btn', form: form_id, content: t('.save'), type: 'submit' + -# @todo: Volver al otro modal + = render 'bootstrap/btn', content: t('.cancel'), action: 'modal#hide'