Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tiny adjustments to docs and template

  • Loading branch information...
commit c0f7f344f3dead47d2362f4d15d218ba2d956369 1 parent 325edfe
@maccesch authored
View
3  .gitignore
@@ -5,3 +5,6 @@ DS_STORE
.project
.pydevproject
.settings
+build
+dist
+cmsplugin_contact.egg-info
View
4 README.rst
@@ -4,6 +4,8 @@ Django CMS Contact Form Plugin
Contact form plugin for `Django CMS <http://www.django-cms.org/>`_ with spam protection and i18n.
+Spam protection is done through `glamkit-stopspam <http://github.com/maccesch/glamkit-stopspam>`_ which provides three different protection methods.
+
If you want to use ReCAPTCHA you have to get a Public and Private Key from http://www.google.com/recaptcha. You can get them for free.
The Akismet spam protection method requires an Aksimet API Key which is obtainable from http://akismet.com/ For private persons this is free, too.
@@ -38,6 +40,8 @@ You can simply type into a terminal ``pip install cmsplugin-contact`` or ``easy_
Manual Download
---------------
+You can download a zipped archive from http://github.com/maccesch/cmsplugin-contact/downloads.
+
Unzip the file you downloaded. Then go in your terminal and ``cd`` into the unpacked folder. Then type ``python setup.py install`` in your terminal.
Put "cmsplugin_contact" in your ``INSTALLED_APPS`` section in settings.py. Don't forget to syncdb your database.
View
6 cmsplugin_contact/templates/cmsplugin_contact/contact.html
@@ -30,7 +30,6 @@
{% endif %}
</p>
{% if form.recaptcha_challenge_field %}
- {% autoescape off %}
<p {% if form.recaptcha_response_fiel.errors %}class="error"{% endif %}>
{{ form.recaptcha_challenge_field }}
{% if form.recaptcha_theme == "custom" %}
@@ -62,16 +61,13 @@
{% endfor %}
{% endif %}
</p>
- {% endautoescape %}
{% endif %}
{% if form.accept_terms %}
- {% autoescape off %}
{{ form.accept_terms }}
- {% endautoescape %}
{% endif %}
<p>
- <input type="submit" {% if contact.submit %}value="{{ contact.submit }}"{% endif %}>
+ <button>{{ contact.submit }}</button>
</p>
{% csrf_token %}
Please sign in to comment.
Something went wrong with that request. Please try again.