From b7de86d447e9e18f531187a06b55d0a41813a7c6 Mon Sep 17 00:00:00 2001 From: megli2 Date: Fri, 16 Feb 2024 11:07:56 +0100 Subject: [PATCH] fix bug of reopening modal when cancel button was clicked --- app/views/skills/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/skills/_form.html.haml b/app/views/skills/_form.html.haml index d4b1a9b7a..e84500dd1 100644 --- a/app/views/skills/_form.html.haml +++ b/app/views/skills/_form.html.haml @@ -19,4 +19,4 @@ .mb-1.mt-4 = f.button class:"btn btn-primary","aria-label":"Close" - = link_to "Cancel", skills_path, class: "btn btn-outline-secondary" + = link_to "Cancel", skills_path, class: "btn btn-outline-secondary", "data-bs-dismiss":"modal"