{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Problems - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {% endblock %} {% block content %}

Problems

{{ macros.table(problems, table_fields) }} {% if is_granted('ROLE_ADMIN') %}

{{ button(path('jury_problem_add'), 'Add new problem', 'primary', 'plus') }} {{ button(path('jury_import_export', {'_fragment':'problemarchive'}), 'Import problem', 'primary', 'upload') }}

{% endif %} {% endblock %}