formulario de contacto
This commit is contained in:
parent
b06eddd005
commit
8473f56f5c
1 changed files with 6 additions and 5 deletions
|
@ -2,13 +2,14 @@
|
|||
Esta imagen obtiene una cookie desde la API de Sutty para autorizar el
|
||||
envío del formulario.
|
||||
{% endcomment %}
|
||||
<img class="d-none" src="https://api.sutty.nl/v1/sites/{{ site.hostname }}/contact/cookie.png" />
|
||||
<img class="d-none invisible" src="https://api.sutty.nl/v1/sites/{{ site.hostname }}/contact/cookie.png" />
|
||||
|
||||
{% comment %}
|
||||
El formulario se envía a la API. La definición del formulario se
|
||||
encuentra en _data/forms/contacto.yml
|
||||
{% endcomment %}
|
||||
<form action="https://api.sutty.nl/v1/sites/{{ site.hostname }}/contact/contacto"
|
||||
<form
|
||||
action="https://api.sutty.nl/v1/sites/{{ site.hostname }}/contact/{{ include.name }}"
|
||||
method="post">
|
||||
{%- for field in include.form -%}
|
||||
{% assign template = field[1].type | append: '.html' %}
|
||||
|
|
Loading…
Reference in a new issue