Created
June 15, 2016 15:10
-
-
Save bdunnette/1d666dede3ad0eda777c3153220304f0 to your computer and use it in GitHub Desktop.
Exclude reCaptcha responses from Grav form emails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "forms/default/data.html.twig" %} | |
{% block field %} | |
{% if field.name!='g-recaptcha-response' %} | |
<div>{% block field_label %}<strong>{{ field.label }}</strong>{% endblock %}: {% block field_value %}{{ string(form.value(field.name)|e)|nl2br }}{% endblock %}</div> | |
{% endif %} | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment