mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 22:14:22 +01:00
Fix: 5 try to fix contact form for netlify form
This commit is contained in:
parent
a2fc878a31
commit
5e95ec8a4d
1 changed files with 22 additions and 9 deletions
|
@ -1,16 +1,27 @@
|
|||
<section id="contact" class="fragment">
|
||||
<div class="container-fluid bg-dark">
|
||||
{{ $data := index site.Data.contact }}
|
||||
|
||||
{{ if $data.contact.enable }}
|
||||
{{ with $data.contact}}
|
||||
{{"<!-- /Contact Section -->" | safeHTML}}
|
||||
<section id="contact" class="section bg-two">
|
||||
<div class="container-fluid">
|
||||
<div class="container py-5">
|
||||
|
||||
<div class="title-container row mx-0">
|
||||
<div class="title col px-0 text-center text-body">
|
||||
<h2>Contact Me</h2>
|
||||
{{"<!-- Title -->" | safeHTML}}
|
||||
<div class="col-lg-12">
|
||||
<div class="title text-center wow fadeIn" data-wow-duration="500ms">
|
||||
<h2>{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
|
||||
{{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}</span></h2>
|
||||
<div class="border-biotech"></div>
|
||||
</div>
|
||||
</div>
|
||||
{{"<!-- /Title -->" | safeHTML}}
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<form class='contact position-relative' data-has-formspree='true' data-has-netlify='true' id='defaultContact' method='POST' name='defaultContact'>
|
||||
<h3 class="text-center">{{ .content }}</h3>
|
||||
<form class='contact position-relative' data-has-formspree='true' data-netlify='true' id='defaultContact' method='POST' name='defaultContact'>
|
||||
<input type='hidden' name='form-name' value='defaultContact' />
|
||||
<div class="row py-3 should-fade">
|
||||
<div class="d-flex flex-column col-md-4 justify-content-between">
|
||||
|
@ -65,7 +76,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 text-center">
|
||||
<div class="captcha-error alert alert-danger d-none" id="captcha-error">
|
||||
{{/* <div class="captcha-error alert alert-danger d-none" id="captcha-error">
|
||||
Message could not be send due to captcha not loadable. Please contact us at mail@example.com.
|
||||
</div>
|
||||
<div class="generic-error alert alert-danger d-none" id="generic-error">
|
||||
|
@ -76,7 +87,7 @@
|
|||
Message can not be send with javascript disabled. Please contact us at mail@example.com.
|
||||
</div>
|
||||
</noscript>
|
||||
{{/* <div>
|
||||
<div>
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
<div class='g-recaptcha' data-sitekey='6LdAvUIUAAAAAHjrjmjtNTcXyKm0WKwefLp-dQv9'></div>
|
||||
<noscript>
|
||||
|
@ -112,4 +123,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Reference in a new issue