mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
add haptics
This commit is contained in:
1 parent
e012b7f5ac
commit
eafae4cda2
5 files changed
+10
-5
No files matched your search
@@ -7,7 +7,7 @@
|
||||
<% if turbo_native_app? %>
|
||||
<native-action data-placement="search" data-native="search" data-label="<%= t('search') %>" data-url="<%= search_index_path(filter_params.to_h.merge({ 'scope' => 'submissions', 'template_id' => @template.id, 'archived' => ('true' if @template.archived_at?) }.compact)) %>"></native-action>
|
||||
<% if !@template.archived_at? && can?(:create, Submission) %>
|
||||
<native-action data-placement="footer" data-icon="send" data-label="<%= t('send_to_recipients') %>">
|
||||
<native-action data-placement="footer" data-icon="send" data-haptic="true" data-label="<%= t('send_to_recipients') %>">
|
||||
<a href="<%= new_template_submission_path(@template) %>" data-turbo-frame="modal" data-native-modal="<%= 'medium' if @template.submitters.size < 3 %>"></a>
|
||||
</native-action>
|
||||
<% end %>
|
||||
|
||||
Reference in new issue
Block a user