mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 07:42:32 -05:00
add native app
This commit is contained in:
1 parent
ad3367dae0
commit
22b2e7475a
17 files changed
+181
-134
No files matched your search
@@ -1,6 +1,7 @@
|
||||
<% filter_params = params.permit(Submissions::Filter::ALLOWED_PARAMS).compact_blank %>
|
||||
<% is_show_tabs = (@pagy.count.nil? || @pagy.count >= 5) || params[:status].present? || filter_params.present? %>
|
||||
<% if Docuseal.demo? %><%= render 'shared/demo_alert' %><% end %>
|
||||
<% unless turbo_native_app? %>
|
||||
<div class="group/header flex justify-between items-center w-full mb-4">
|
||||
<div class="flex items-center flex-grow min-w-0 max-md:group-has-[search-input:focus-within]/header:hidden <%= 'max-md:hidden' if params[:q].present? %>">
|
||||
<div class="mr-2">
|
||||
@@ -27,6 +28,7 @@
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<% view_archived_html = capture do %>
|
||||
<% if can?(:manage, :countless) || current_account.submissions.archived.exists? || current_account.templates.where(Submission.where(Submission.arel_table[:template_id].eq(::Template.arel_table[:id])).arel.exists).archived.exists? %>
|
||||
<div>
|
||||
|
||||
Reference in new issue
Block a user