refactor: update form actions, reintroduce captcha and modify button styles
Some checks failed
Build and Deploy Hugo Site / buildAndDeploy (push) Failing after 43s

This commit is contained in:
Andreas Hnida 2024-04-26 23:12:43 +02:00
commit d5867d2a7d
6 changed files with 59 additions and 50 deletions

View file

@ -21,7 +21,7 @@ bestellformular = true
{{% /aligncenter %}}
<form action="https://verua.dev-1.andreashnida.de/php/ajaxmail.php" method="POST" id="bestellformular">
<form action="/php/ajaxmail.php" method="POST" id="bestellformular">
<div id="formPartOne">
<input type="hidden" name="formularart" value="Bestellformular Organisationen">
<h5>Bitte tragen Sie die Daten Ihrer Spitex-Organisation ein</h5>
@ -155,10 +155,12 @@ bestellformular = true
</div>
</div>
<div class="w-full flex justify-center">
<button id="bestellformular-btn" type="submit" class="submitbutton text-white mx-auto submit-after-valid-captcha-bak">Kostenpflichtig bestellen</button>
<div id="notification" class="bg-blue-500 text-white rounded invisible opacity-0 hidden">Notification</div>
</div>
<center class="w-full">
{{< captcha >}}
<button id="bestellformular-btn" type="submit" class="submitbutton text-white mx-auto submit-after-valid-captcha" >Kostenpflichtig bestellen</button>
<p><div id="notification" class="bg-blue-500 text-white rounded invisible opacity-0 hidden">Notification</div></p>
</center>
</form>
{{% /section %}}