mirror of
https://github.com/docusealco/docuseal
synced 2026-11-15 08:02:33 -05:00
review fixes
This commit is contained in:
1 parent
d071e8c429
commit
e11f4bddbe
40 files changed
+299
-192
No files matched your search
@@ -2,6 +2,16 @@
|
||||
<% if turbo_native_app? %>
|
||||
<native-action data-placement="search" data-native="search" data-label="<%= t('search') %>" data-url="<%= search_index_path(folder: @template_folder.full_name) %>"></native-action>
|
||||
<% end %>
|
||||
<% if turbo_native_app? && can?(:update, @template_folder) && @template_folder.full_name != TemplateFolder::DEFAULT_NAME %>
|
||||
<form-prompt data-refresh="false">
|
||||
<native-action data-placement="title" data-label="<%= t('folder_name') %>">
|
||||
<%= form_for @template_folder, url: folder_path(@template_folder), html: { class: 'hidden', id: nil } do |f| %>
|
||||
<%= f.label :name, t('folder_name'), for: name_input_id = SecureRandom.uuid %>
|
||||
<%= f.hidden_field :name, id: name_input_id %>
|
||||
<% end %>
|
||||
</native-action>
|
||||
</form-prompt>
|
||||
<% end %>
|
||||
<% if turbo_native_app? && (can?(:manage, :countless) || current_account.templates.where.not(archived_at: nil).exists?) %>
|
||||
<native-action data-placement="menu" data-icon="archive" data-label="<%= t('archived') %>">
|
||||
<a href="<%= templates_archived_index_path %>" data-native-title="<%= t('archived') %>"><%= t('view_archived') %></a>
|
||||
|
||||
Reference in new issue
Block a user