Skip to content

Commit 0354c6d

Browse files
New modal component and upgrade of the button component to allow the opening of a modal box
1 parent 5dcbe12 commit 0354c6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlpage/templates/button.handlebars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
{{~#if download}} download="{{download}}"{{/if}}
1818
{{~#if rel}} rel="{{rel}}"{{/if}}
1919
{{~#if tooltip}} data-bs-toggle="tooltip" data-bs-placement="top" title="{{tooltip}}"{{/if}}
20+
{{~#if modal}} data-bs-toggle="modal" data-bs-target="#{{modal}}"{{/if}}
2021
role="button">
2122
{{~#if image~}}
2223
<span {{~#if title}} class="me-1"{{/if}}>

0 commit comments

Comments
 (0)