fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
individual answers assignable to experts - some fixes
[edumed.git]
/
contact
/
templates
/
contact
/
form.html
diff --git
a/contact/templates/contact/form.html
b/contact/templates/contact/form.html
index
a9741f1
..
584629a
100644
(file)
--- a/
contact/templates/contact/form.html
+++ b/
contact/templates/contact/form.html
@@
-1,5
+1,6
@@
{% extends form.base_template|default:"base.html" %}
{% load chunks %}
{% extends form.base_template|default:"base.html" %}
{% load chunks %}
+{% load honeypot %}
{% block title %}{{ form.form_title }}{% endblock %}
{% block title %}{{ form.form_title }}{% endblock %}
@@
-15,6
+16,7
@@
<form method="POST" action="." enctype="multipart/form-data" class="submit-form">
{% csrf_token %}
<form method="POST" action="." enctype="multipart/form-data" class="submit-form">
{% csrf_token %}
+ {% render_honeypot_field %}
<table>
{{ form.as_table }}
<tr><td></td><td><button>{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button></td></tr>
<table>
{{ form.as_table }}
<tr><td></td><td><button>{% block contact_form_submit %}{{ form.submit_label }}{% endblock %}</button></td></tr>