diff --git a/lms/templates/problem.html b/lms/templates/problem.html
index 60d27b4ff5..3bf90b5daf 100644
--- a/lms/templates/problem.html
+++ b/lms/templates/problem.html
@@ -40,7 +40,7 @@ from openedx.core.djangolib.markup import HTML
% endif
- % if reset_button:
+ % if attempts_used and reset_button: