{% extends 'base.html.twig' %}
{% block title %} Nová Zpráva {% endblock %}
{% block body %}

    <h3 class="h3 card-title mb-3 font-weight-normal">Nová Zpráva</h3>

    <hr>

    {{ form_start(form) }}

    <div class="input-group mb-3">
        <div class="input-group-prepend">
            <span class="input-group-text">Příjemce</span>
        </div>
        {{ form_widget(form.prijemce) }}
    </div>

    <div class="input-group mb-3">
        <div class="input-group-prepend">
            <span class="input-group-text">Předmět</span>
        </div>
        {{ form_widget(form.predmet) }}
    </div>

    <div class="input-group mb-3">
        <div class="input-group-prepend">
            <span class="input-group-text">Obsah Zprávy: </span>
        </div>
        {{ form_widget(form.text) }}
    </div>

    <hr>

    {{ form_widget(form.save) }}

    {{ form_end(form) }}

{% endblock %}



