Skip to content

Commit b7ea6dc

Browse files
committed
fix (some) of the js errors
1 parent 8036545 commit b7ea6dc

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

backend/static_extras/js/pristine.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/templates/v2/form/redirection-open.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ <h2 class="mb-5 text-2xl font-bold tracking-tight text-gray-900">
66
</h2>
77

88
{% blocktranslate trimmed asvar banner_message %}
9-
Since 2022, form 230 can be submitted online.
10-
Fill in the form with the data from your ID,
11-
sign it online, and it will be automatically sent to the organization.
9+
Since 2022, form 230 can be submitted online.
10+
Fill in the form with the data from your ID,
11+
sign it online, and it will be automatically sent to the organization.
1212

13-
Alternatively, your form will be generated, and you will be able to download the PDF,
14-
but it will not reach the NGO.
13+
Alternatively, your form will be generated, and you will be able to download the PDF,
14+
but it will not reach the NGO.
1515

16-
We rely on you to print, sign the form by hand,
17-
and send it to the NGO by mail or email,
18-
or submit it directly to ANAF.
16+
We rely on you to print, sign the form by hand,
17+
and send it to the NGO by mail or email,
18+
or submit it directly to ANAF.
1919
{% endblocktranslate %}
2020
{% include "components/info-banner.html" with style="info" banner_message=banner_message %}
2121

@@ -186,7 +186,9 @@ <h2 class="mb-5 text-2xl font-bold tracking-tight text-gray-900">
186186
<div id=g-recaptcha" class="g-recaptcha" data-sitekey="{{ captcha_public_key }}" data-callback="onSubmit"></div>
187187
</fieldset>
188188

189-
<div class="flex flex-col gap-4 text-center sm:items-center sm:flex-row">
189+
<div
190+
x-data="{confirmationModalIsOpen: false}"
191+
class="flex flex-col gap-4 text-center sm:items-center sm:flex-row">
190192
<div
191193
x-cloak
192194
x-show="confirmationModalIsOpen"

backend/templates/v2/form/signature.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
class="hidden"
1616
{% if redirection_form.signature.value %}value="{{ redirection_form.signature.value }}"{% endif %}>
1717

18-
<div class="flex gap-4">
18+
<div
19+
x-data="{signatureModalIsOpen: false}"
20+
class="flex gap-4">
1921

2022
<button
2123
@click="signatureModalIsOpen = true"

0 commit comments

Comments
 (0)