Sha256: 05b11b54a7dfa3a575814d992e696a3fdac4e1ef1dbb19037cfbeb96cc10bf34
Contents?: true
Size: 661 Bytes
Versions: 7
Compression:
Stored size: 661 Bytes
Contents
{% comment %} El formulario se envía a la API. La definición del formulario se encuentra en _data/forms/contacto.yml {% endcomment %} <form data-turbo="false" data-controller="contact" data-delay="60" action="https://api.{{ site.hostname }}/v1/sites/{{ site.hostname }}/contact/{{ include.name }}" method="post"> {%- for field in include.form -%} {% assign template = field[1].type | append: '.html' %} <div class="col{{ field[1].col | default: 12 | prepend: '-' }}"> {% include {{ template }} field=field %} </div> {%- endfor -%} <input type="hidden" name="redirect" value="{{ site.url }}{{ include.url }}" /> </form>
Version data entries
7 entries across 7 versions & 1 rubygems