{% extends "layout/basic.html" %} {% block content %} {{ set(UiContext, 'codeTemplates', codeTemplates|default({})) }} {{ set(UiContext, 'editLangs', model.setting.langs) }}
{{ _('Problem details') }}
{{ form.form_text({ row:false, columns:9, label:'Tags', help_text:'Split by \', \'.', name:'tag', value:pdoc['tag']|default([])|join(', ') }) }} {{ form.form_text({ row:false, columns:3, label:'Difficulty', help_text:'From 1-10', name:'difficulty', value:pdoc['difficulty'] or '' }) }}
{{ _('Availability and exam') }}

{{ _('Scheduled open/close and exam mode only apply to students; teachers always see the problem.') }}

{{ _('Hints and template') }}

{{ _('hints_help') }}

{{ _('code_template_default_help') }}

{{ _('per_language_template_help') }}

    {{ _('Statement') }}
    • {{ _('__langname') }}
    • {% for k, v in statementLangs %}{% if k != handler.user.viewLang %}
    • {{ v }}
    • {% endif %}{% endfor %}
    {% if page_name == 'problem_edit' %} {% if handler.user.own(pdoc, perm.PERM_EDIT_PROBLEM_SELF) or handler.user.hasPerm(perm.PERM_EDIT_PROBLEM) %} {% endif %} {% else %} {% endif %}

    {{ _('Categories') }} ({{ _('click to add') }})

    {% include "partials/category.html" %}
    {% if page_name == 'problem_edit' %}

    {{_('Additional Files')}}

    {% set sidebar = true %} {% set can_edit = true %} {% set filetype = "additional_file" %} {% include "partials/problem_files.html" %}
    {% include "partials/problem_sidebar.html" %} {% else %} {% include 'components/md_hint.html' %} {% endif %}
    {% endblock %}