diff --git a/lms/templates/staff_problem_info.html b/lms/templates/staff_problem_info.html
index 24ca39783b..4d5cbfea6c 100644
--- a/lms/templates/staff_problem_info.html
+++ b/lms/templates/staff_problem_info.html
@@ -68,13 +68,17 @@ ${block_content}
is_released = ${is_released}
location = ${location.to_deprecated_string() | h}
+
| ${_('Module Fields')} |
%for name, field in fields:
- | ${name} | ${field | h} |
+ | ${name} | ${field | h} |
%endfor
| ${_('XML attributes')} |
%for name, field in xml_attributes.items():
- | ${name} | ${field | h} |
+ | ${name} | ${field | h} |
%endfor
category = ${category | h}
diff --git a/openedx/core/lib/xblock_utils.py b/openedx/core/lib/xblock_utils.py
index 757230053c..4474b832b3 100644
--- a/openedx/core/lib/xblock_utils.py
+++ b/openedx/core/lib/xblock_utils.py
@@ -382,6 +382,8 @@ def add_staff_markup(user, has_instructor_access, disable_staff_debug_info, bloc
'block_content': frag.content,
'is_released': is_released,
'has_instructor_access': has_instructor_access,
+ 'can_reset_attempts': 'attempts' in block.fields,
+ 'can_rescore_problem': hasattr(block, 'rescore_problem'),
'disable_staff_debug_info': disable_staff_debug_info,
}
return wrap_fragment(frag, render_to_string("staff_problem_info.html", staff_context))