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

{% block body1 %}

    <div class="col-6 card" style="margin: 0 auto; border-radius: 0px;">
        {% include '_partials/_flash.html.twig' %}
        <div class="card-body bg-white" >
            <h5>CADASTRO DE PROVÍNÇIAS</h5>
            {{ form_start(form) }}
            <label class="my-2">Nome da província*</label>
            {{ form_widget(form.nome,{attr:{'placeholder':'Digite o nome do província','class':'caixa shadow-none'}}) }}

            <div class="row">
                <div class="col-6 my-3">
                    <button type="submit" class="btn  col-12 shadow-none"
                            style="background-color: #0d5e42;
                        color: #fff;"><i class="fas fa-save"></i> Salvar</button>
                </div>
                <div class="col-6 my-3">
                    <a href="{{ path('app_provincia_index') }}" class="btn btn-danger  col-12 shadow-none"
                       style="background-color: #000;
                        color: #fff; border: none; padding-bottom: 11px;"><i class="fas fa-window-close"></i> Fechar</a>
                </div>

            </div>
        </div>

        {{ form_end(form) }}
    </div>

{% endblock %}