From 6736d8fe6887f20184828b2b83a62a75187a031b Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Wed, 28 Oct 2026 15:47:44 +0200 Subject: [PATCH] mobile fixes --- app/views/submissions/new.html.erb | 2 +- app/views/submissions_export/new.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/submissions/new.html.erb b/app/views/submissions/new.html.erb index 87f7bdccc..c869745d4 100644 --- a/app/views/submissions/new.html.erb +++ b/app/views/submissions/new.html.erb @@ -13,7 +13,7 @@ <%= render 'shared/turbo_modal_large', title: params[:selfsign] ? t('add_recipients') : t('add_new_recipients') do %> <% options = [only_detailed ? nil : [t('via_email'), 'email'], only_detailed || !with_phone ? nil : [t('via_phone'), 'phone'], [t('detailed'), 'detailed'], with_list ? [t('upload_list'), 'list'] : nil].compact %> <% if options.size > 1 %> - +
<% options.each_with_index do |(label, value), index| %> <%= content_tag(value == 'list' ? 'span' : 'toggle-cookies', data: { value:, key: 'add_recipients_tab' }) do %> diff --git a/app/views/submissions_export/new.html.erb b/app/views/submissions_export/new.html.erb index 38121609a..2c1c9d290 100644 --- a/app/views/submissions_export/new.html.erb +++ b/app/views/submissions_export/new.html.erb @@ -1,6 +1,6 @@ <% filter_params = params.permit(:q, :archived, *Submissions::Filter::ALLOWED_PARAMS) %> <%= render 'shared/turbo_modal', title: t('export'), close_after_submit: false do %> -
+
<%= button_to template_submissions_export_index_path(@template), params: { format: :xlsx, **filter_params }, method: :get, data: { turbo_frame: :_top } do %>