mirror of
https://github.com/docusealco/docuseal
synced 2026-11-16 16:12:32 -05:00
refactor clone
This commit is contained in:
1 parent
40f8093e00
commit
c4ba892559
9 files changed
+103
-59
No files matched your search
@@ -53,7 +53,7 @@
|
||||
<% end %>
|
||||
<% if can?(:create, template) %>
|
||||
<span class="tooltip tooltip-left" data-tip="<%= t('clone') %>">
|
||||
<a href="<%= new_template_path(base_template_id: template.id) %>" data-turbo-frame="modal" class="btn btn-xs hover:btn-outline bg-base-200 btn-circle">
|
||||
<a href="<%= new_template_clone_path(template) %>" data-turbo-frame="modal" class="btn btn-xs hover:btn-outline bg-base-200 btn-circle">
|
||||
<%= svg_icon('copy', class: 'w-4 h-4') %>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user