diff --git a/auth/forms.py b/auth/forms.py index 7a1b4b5fb..6ec848dfb 100644 --- a/auth/forms.py +++ b/auth/forms.py @@ -8,6 +8,5 @@ class LoginForm(forms.Form): ) password = forms.CharField( label=_("Password"), - widget=forms.PasswordInput(attrs={"class" : "span3"}), - help_text=_("Password used to authenticate") + widget=forms.PasswordInput(attrs={"class" : "span3"}) ) diff --git a/extensions/amavis_quarantine/templates/amavis_quarantine/viewheader.html b/extensions/amavis_quarantine/templates/amavis_quarantine/viewheader.html index 3cd8ab7c5..6e5efab6c 100644 --- a/extensions/amavis_quarantine/templates/amavis_quarantine/viewheader.html +++ b/extensions/amavis_quarantine/templates/amavis_quarantine/viewheader.html @@ -1,4 +1,4 @@ -
+{% for k, v in headers %}{{ k }}: {{ v }} {% endfor %}diff --git a/static/js/global.js b/static/js/global.js index 42e468791..72c9b7a95 100644 --- a/static/js/global.js +++ b/static/js/global.js @@ -40,6 +40,7 @@ function modalbox(e, css, defhref, defcb, defclosecb) { } var $div = $('' + data + '') .one('shown', function() { + $(".help").popover(); if (modalcb != undefined) { if (typeof modalcb === "function") modalcb(); else eval(modalcb + '()'); } diff --git a/templates/common/generic_field.html b/templates/common/generic_field.html index 530b3903f..f0d21c98f 100644 --- a/templates/common/generic_field.html +++ b/templates/common/generic_field.html @@ -1,5 +1,7 @@ +{% load i18n %}{% if field.label %}{% endif %} + {% if field.help_text %}?{% endif %}{{ field }}{% if field.errors %}diff --git a/templates/common/mailheaders.html b/templates/common/mailheaders.html index f54bd96ab..6e0cc12a3 100644 --- a/templates/common/mailheaders.html +++ b/templates/common/mailheaders.html @@ -1,6 +1,6 @@ {% load i18n %} {% block emailheaders %} -{% for error in field.errors %}{{ error|safe }}{% endfor %}
{% endif %}+{% for hdr in headers %}{% endfor %}{{ hdr.name }}{{ hdr.value }}