diff --git a/CTFd/themes/core/templates/challenge.html b/CTFd/themes/core/templates/challenge.html index dd8de142..db5382e6 100644 --- a/CTFd/themes/core/templates/challenge.html +++ b/CTFd/themes/core/templates/challenge.html @@ -83,11 +83,11 @@ {% endfor %} - {% if max_attempts > 1 %} + {% if max_attempts > 0 %}
- {{ attempts }}/{{ max_attempts }} attempt{{ attempts|pluralize(attempts) }} + {{ attempts }}/{{ max_attempts }} attempt{{ max_attempts|pluralize }}