Contact form test

This commit is contained in:
Marc Riera Irigoyen 2018-03-05 11:07:24 +01:00
parent 856a8e096b
commit 85affb9fd1
7 changed files with 196 additions and 3 deletions

View file

@ -0,0 +1,14 @@
{{ $action := .Get "action" | default "thank-you" -}}
{{- if ne $action "thank-you" -}}{{- $action := ($action | absLangURL) -}}{{- end -}}
<form class="form-container" netlify-honeypot="antispambot" name="{{ .Get "name" }}" action="{{ $action }}" netlify>
<input type="text" name="antispambot" class="hide" />
{{ .Inner }}
<div class="row">
<button class="row-item small-full medium-third large-quarter left button" type="reset">
Reset
</button>
<button class="row-item small-full medium-third large-quarter right button" type="submit">
Submit
</button>
</div>
</form>