mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
891 B
19 lines
891 B
<turbo-frame id="modal">
|
|
<turbo-modal class="modal modal-open items-start !animate-none overflow-y-auto" data-close-after-submit="<%= local_assigns.key?(:close_after_submit) ? local_assigns[:close_after_submit] : true %>">
|
|
<div class="turbo-modal-backdrop absolute inset-0 cursor-pointer z-0" data-turbo-modal-close aria-hidden="true"></div>
|
|
<div class="modal-box pt-4 pb-6 px-6 mt-20 max-h-none relative z-10" data-turbo-modal-content>
|
|
<% if local_assigns[:title] %>
|
|
<div class="flex justify-between items-center border-b pb-2 mb-2 font-medium">
|
|
<span>
|
|
<%= local_assigns[:title] %>
|
|
</span>
|
|
<button type="button" class="text-xl hover:opacity-70" data-turbo-modal-close aria-label="Close">×</button>
|
|
</div>
|
|
<% end %>
|
|
<div>
|
|
<%= yield %>
|
|
</div>
|
|
</div>
|
|
</turbo-modal>
|
|
</turbo-frame>
|