password history: just limit the result set range to simplify iteration logic

This commit is contained in:
Chris Dodge
2014-03-24 22:14:14 -04:00
parent d5bb1b5cca
commit ff8a0c6891
2 changed files with 16 additions and 14 deletions

View File

@@ -86,7 +86,11 @@
</h3>
</div>
<div role="alert" class="status message submission-error" style="display: {% if err_msg %}block{% else %}None{% endif %}">
{% if err_msg %}
<div role="alert" class="status message submission-error" style="display: block;">
{% else %}
<div role="alert" class="status message submission-error" style="display: none;">
{% endif %}
<h3 class="message-title">{% trans "The following errors occurred while processing your registration: " %}</h3>
<ul class="message-copy">
{% if err_msg %}