mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 07:42:32 -05:00
show archived shared templates
This commit is contained in:
1 parent
2840359396
commit
b2790776ef
8 files changed
+38
-13
No files matched your search
@@ -91,7 +91,7 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if template.archived_at? %>
|
||||
<% if can?(:create, template) %>
|
||||
<% if can?(:destroy, template) %>
|
||||
<%= button_to button_title(title: t('restore'), disabled_with: t('restoring')[..-4], icon: svg_icon('rotate', class: 'w-6 h-6')), template_restore_index_path(template), class: 'btn btn-outline btn-sm flex-1' %>
|
||||
<% end %>
|
||||
<%= link_to template_preview_path(template), class: 'btn btn-outline btn-sm flex-1' do %>
|
||||
|
||||
Reference in new issue
Block a user