Fix: second try to fix netlify form

This commit is contained in:
Aroy-Art 2022-03-21 09:42:49 +01:00
parent 57507f10f7
commit b6cdafcb6a
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -21,14 +21,15 @@
<form name="contact" method="post" action="{{ .action }}" data-netlify="{{ .netlify }}"> <form name="contact" method="post" action="{{ .action }}" data-netlify="{{ .netlify }}">
<h3 class="text-center">{{ .content }}</h3> <h3 class="text-center">{{ .content }}</h3>
<div class="row"> <div class="row">
<p class="d-flex flex-column col-md-4 justify-content-between"> <div class="d-flex flex-column col-md-4 {{/* justify-content-between */}}">
<input name="bot-field" class="form-crontrol hidden" />
<input id="contact-form-name" type="text" name="Name" class="form-control" placeholder="{{ .name }}" value="" required="true" autocomplete="off" /> <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-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"/> {{/* <input id="contact-form-subject" type="text" name="Subject" class="form-control" placeholder="{{ .subject }}" value="" required="true" autocomplete="off"/> */}}
</p> </div>
<p class="d-flex flex-column col-md-8"> <div class="d-flex flex-column col-md-8">
<textarea id="contact-form-message" class="form-control" placeholder="{{ .message }}" required="true" rows="6"></textarea> <textarea id="contact-form-message" class="form-control" placeholder="{{ .message }}" required="true" rows="6"></textarea>
</p> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col text-center"> <div class="col text-center">