Skip to content

Commit

Permalink
fix bug of reopening modal when cancel button was clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcEgliP committed Feb 16, 2024
1 parent c93663b commit b7de86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/skills/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b7de86d

Please sign in to comment.