Contact form test
This commit is contained in:
parent
856a8e096b
commit
85affb9fd1
7 changed files with 196 additions and 3 deletions
14
themes/crab/layouts/shortcodes/netlify-form.html
Normal file
14
themes/crab/layouts/shortcodes/netlify-form.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue