{% import "components/user.html" as user with context %}
{% if page_name != 'contest_detail_problem' %}
{{ pdoc['title'] }}
{% endif %}
{% if mode == 'contest' or mode == 'correction' %}
{% if page_name == 'contest_detail_problem' and handler.ctx.setting.get('ui-default.enableScratchpad') %}