{% extends "layout/basic.html" %} {% block content %}
{{ form.form_text({ row:false, columns:6, label:'Tags', help_text:'Split by \', \'.', name:'tag', value:pdoc['tag']|default([])|join(', ') }) }} {{ form.form_text({ row:false, columns:3, label:'Assign', placeholder:_('Group / UID'), name:'assign', value:pdoc.assign|default([])|join(', ') }) }} {{ form.form_text({ row:false, columns:3, label:'Difficulty', help_text:'From 1-10', name:'difficulty', value:pdoc['difficulty'] }) }}
  • {{ _('__langname') }}
  • {% for k, v in model.setting.SETTINGS_BY_KEY['viewLang'].range %} {% 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" %}
{% include "partials/problem_sidebar_additional_file.html" %} {% if page_name == 'problem_edit' %} {% set owner_udoc = udoc %} {% include "partials/problem_sidebar.html" %} {% else %} {% include 'components/md_hint.html' %} {% endif %}
{% endblock %}