{% extends "layout/basic.html" %} {% block content %}
{{ 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'] }) }}
  • {{ _('__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" %}
{% if page_name == 'problem_edit' %}

{{ additional_file.length|default(0) }} {{_('Additional File')}}

{% 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 %}