Fix: first try to fix netlify form

This commit is contained in:
Aroy-Art 2022-03-21 09:00:57 +01:00
parent fc6d5e0dd3
commit 105b67ff78
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -19,17 +19,16 @@
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
{{ end }}
<form name="contact" method="post" action="{{ .action }}" data-netlify="{{ .netlify }}">
<input type="hidden" name="form-name" value="contact" />
<h3 class="text-center">{{ .content }}</h3>
<div class="row">
<div class="d-flex flex-column col-md-4 justify-content-between">
<p class="d-flex flex-column col-md-4 justify-content-between">
<input id="contact-form-name" type="text" name="Name" class="form-control" placeholder="{{ .name }}" value="" required="true" autocomplete="off" />
<input id="contact-form-email" type="email" name="Email" class="form-control" placeholder="{{ .email }}" value="" required="true" autocomplete="off" />
<input id="contact-form-subject" type="text" name="Subject" class="form-control" placeholder="{{ .subject }}" value="" required="true" autocomplete="off"/>
</div>
<div class="d-flex flex-column col-md-8">
</p>
<p class="d-flex flex-column col-md-8">
<textarea id="contact-form-message" class="form-control" placeholder="{{ .message }}" required="true" rows="6"></textarea>
</div>
</p>
</div>
<div class="row">
<div class="col text-center">
@ -44,7 +43,7 @@
</div>
</div>
</form>
{{ end }}
{{ end }}
</div>
</section>
{{"<!-- /Contact Section -->" | safeHTML}}