Permalink
Browse files

Tiny adjustments to docs and template

  • Loading branch information...
1 parent 325edfe commit c0f7f344f3dead47d2362f4d15d218ba2d956369 @maccesch committed Sep 4, 2010
Showing with 8 additions and 5 deletions.
  1. +3 −0 .gitignore
  2. +4 −0 README.rst
  3. +1 −5 cmsplugin_contact/templates/cmsplugin_contact/contact.html
View
@@ -5,3 +5,6 @@ DS_STORE
.project
.pydevproject
.settings
+build
+dist
+cmsplugin_contact.egg-info
View
@@ -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.
@@ -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 %}

0 comments on commit c0f7f34

Please sign in to comment.