{% extends "layout/basic.html" %} {% block content %}
{% if not tdoc or rdocs.length %}

{{ _('Recent 10 Records') }}

{% if not rdocs.length %} {{ nothing.render('You have not submitted any solutions for this problem') }} {% else %} {% for rdoc in rdocs %} {% include 'problem_submit_tr.html' %} {% endfor %}
{{ _('Status') }} {{ _('Peak Memory') }} {{ _('Total Time') }} {{ _('Submit At') }}
{% endif %}
{% endif %}

{{ _('Submit to Judge') }}

{{ form.form_select({ label:'Code language', options:model.builtin.LANG_TEXTS, name:'lang', value:handler.user.codeLang }) }} {{ form.form_textarea({label:'Code', columns:12, name:'code', extra_class:'monospace', autofocus:true}) }}
{% set owner_udoc = udoc %} {% include "partials/problem_sidebar.html" %}
{% endblock %}