mirror of
https://github.com/docusealco/docuseal
synced 2026-11-13 15:52:32 -05:00
use open mobile modal
This commit is contained in:
1 parent
6b6a917f60
commit
56bba60d3f
1 file changed
+6
-4
@@ -79,10 +79,12 @@
|
|||||||
<% if can?(:create, Submission) %>
|
<% if can?(:create, Submission) %>
|
||||||
<li>
|
<li>
|
||||||
<native-menu-action data-icon="send" data-label="<%= t('send') %>" class="grid-cols-1 p-0">
|
<native-menu-action data-icon="send" data-label="<%= t('send') %>" class="grid-cols-1 p-0">
|
||||||
<a href="<%= new_template_submission_path(template) %>" class="flex items-center gap-2 px-4 py-2" data-turbo-frame="modal" data-native-modal="medium">
|
<open-modal-mobile>
|
||||||
<%= svg_icon('send', class: 'w-5 h-5 flex-shrink-0') %>
|
<a href="<%= new_template_submission_path(template) %>" class="flex items-center gap-2 px-4 py-2" data-turbo-frame="modal" data-native-modal="medium">
|
||||||
<span><%= t('send') %></span>
|
<%= svg_icon('send', class: 'w-5 h-5 flex-shrink-0') %>
|
||||||
</a>
|
<span><%= t('send') %></span>
|
||||||
|
</a>
|
||||||
|
</open-modal-mobile>
|
||||||
</native-menu-action>
|
</native-menu-action>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in new issue
Block a user