Skip to content
Snippets Groups Projects

Formulář na přidání účastníka do soutěže

Closed Jan Prachař requested to merge honza/add-contestant into devel
2 unresolved threads
1 file
+ 26
0
Compare changes
  • Side-by-side
  • Inline
{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% set round = contest.round %}
{% set site_id = site.place_id if site else None %}
{% block title %}
{{ round.round_code() }}: Přidat účastníka {% if site %}do soutěžního místa {{ site.name }}{% else %}do oblasti {{ contest.place.name }}{% endif %}
{% endblock %}
{% block breadcrumbs %}
{{ contest_breadcrumbs(round=round, contest=contest, site=site, action="Přidat účastníka") }}
{% endblock %}
{% block body %}
{% if errs %}
<div class="alert alert-danger" role="alert" style="white-space: pre">{{ "" -}}
{% for e in errs %}
{{ e }}
{% endfor %}
</div>
{% endif %}
{{ wtf.quick_form(form, form_type='simple', button_map={'save': 'primary'}) }}
{% endblock %}
Loading