From e7e5d0e7765d47ffe35b2a2b6bf0071fba00a1d8 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 19 Dec 2024 00:24:16 +0200 Subject: [PATCH 01/13] add signature formats --- .../submission_form/signature_step.vue | 28 +++++++++++++++---- .../template_builder/field_settings.vue | 14 ++++------ app/javascript/template_builder/i18n.js | 12 ++++++++ 3 files changed, 39 insertions(+), 15 deletions(-) diff --git a/app/javascript/submission_form/signature_step.vue b/app/javascript/submission_form/signature_step.vue index 4a8fbe9c8..f1f6a5be0 100644 --- a/app/javascript/submission_form/signature_step.vue +++ b/app/javascript/submission_form/signature_step.vue @@ -20,7 +20,7 @@
@@ -37,7 +37,7 @@ @@ -54,7 +54,7 @@ @@ -81,10 +81,10 @@ @click.prevent="remove" > - {{ t('redraw') }} + {{ t(format === 'upload' ? 'reupload' : 'redraw') }} @@ -131,7 +131,18 @@ :src="attachmentsIndex[modelValue || computedPreviousValue].url" class="mx-auto bg-white border border-base-300 rounded max-h-44" > -
+ +
-