{% extends 'base.html.twig' %}

{% block body %}

    <h3 class="h3 card-title mb-3 font-weight-normal">Přidání vztahu žák/rodič</h3>

    <hr>

    {{ form_start(form) }}

    <div class="input-group mb-3">
        <div class="input-group-prepend">
            <span class="input-group-text">Rodič</span>
        </div>
        {{ form_widget(form.rodic) }}
    </div>

    <div class="input-group mb-3">
        <div class="input-group-prepend">
            <span class="input-group-text">Žák</span>
        </div>
        {{ form_widget(form.zak) }}
    </div>

    {{ form_widget(form.ulozit) }}

    {{ form_end(form) }}

{% endblock %}

{% block title %}
    Přidání vztahu žák/rodič
{% endblock %}

