mirror of
https://github.com/docusealco/docuseal
synced 2026-11-13 07:52:32 -05:00
native modals
This commit is contained in:
1 parent
0609a70544
commit
27e5c2c81e
21 files changed
+725
-169
No files matched your search
@@ -115,6 +115,11 @@
|
||||
<a href="<%= new_template_submissions_export_path(template, params.permit(:q, *Submissions::Filter::ALLOWED_PARAMS)) %>" data-turbo-frame="modal"></a>
|
||||
</native-action>
|
||||
<% end %>
|
||||
<% if !template.archived_at? && can?(:update, template) && @template.account_id == current_account.id %>
|
||||
<native-action data-section="edit" data-icon="folder" data-label="<%= t('move') %>">
|
||||
<a href="<%= edit_template_folder_path(template.id, subfolder: @template.folder.parent_folder.present?) %>" data-turbo-frame="modal"></a>
|
||||
</native-action>
|
||||
<% end %>
|
||||
<% if can?(:destroy, template) %>
|
||||
<% if template.archived_at? %>
|
||||
<native-action data-section="edit" data-icon="rotate" data-label="<%= t('restore') %>">
|
||||
|
||||
Reference in new issue
Block a user