diff --git a/cmsplugin_contact/templates/cmsplugin_contact/admin/plugin_change_form.html b/cmsplugin_contact/templates/cmsplugin_contact/admin/plugin_change_form.html index 55ce066..891003e 100644 --- a/cmsplugin_contact/templates/cmsplugin_contact/admin/plugin_change_form.html +++ b/cmsplugin_contact/templates/cmsplugin_contact/admin/plugin_change_form.html @@ -21,9 +21,9 @@ } }); } - + $(document).ready(function(){ - + $('#id_spam_protection_method').change(function() { var curOption = $('#id_spam_protection_method :selected'); updateVisibility(curOption.html().toLowerCase()); @@ -44,7 +44,7 @@ padding-left: 48px; margin-left: 13em; } - + {% if spam_protection_method != 1 or akismet_settings %} div.form-row.akismet_api_key { display: none; diff --git a/cmsplugin_contact/templates/cmsplugin_contact/contact.html b/cmsplugin_contact/templates/cmsplugin_contact/contact.html index 83ee473..7370e87 100644 --- a/cmsplugin_contact/templates/cmsplugin_contact/contact.html +++ b/cmsplugin_contact/templates/cmsplugin_contact/contact.html @@ -34,26 +34,26 @@ {{ form.recaptcha_challenge_field }} {% if form.recaptcha_theme == "custom" %}
{% endif %} - + {% if form.accept_terms %} {{ form.accept_terms }} {% endif %}- + {% csrf_token %}