{% extends "cap/examples/base.html" %} {% block title %} Contact Form - CAP Examples {% endblock title %} {% block meta_description %} Contact form with CAP verification example {% endblock meta_description %} {% block content %}

Contact Form

Please fill out the form below and complete the verification to send us a message.

{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{% for error in form.name.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.email }} {% if form.email.errors %}
{% for error in form.email.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.subject }} {% if form.subject.errors %}
{% for error in form.subject.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.message }} {% if form.message.errors %}
{% for error in form.message.errors %}
{{ error }}
{% endfor %}
{% endif %}

🔐 Verification Required

Please complete the proof-of-work challenge below to verify you're not a bot:

{{ form.cap_token.label_tag }} {{ form.cap_token }} {% if form.cap_token.errors %}
{% for error in form.cap_token.errors %}
{{ error }}
{% endfor %}
{% endif %}

How It Works

CAP is a client-side proof-of-work system that requires users to perform computational work before submitting forms. This helps prevent spam and abuse while maintaining privacy. Thanks to the work done by CapJS, the verification process is efficient and user-friendly.
{% endblock content %}