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


{% block body %}

    <div class="col-6 card " style="margin: 0 auto;">
        {% include '_partials/_flash.html.twig' %}
        <div class="card-body bg-white" >
            <h5>CONFIGURAR DADOS DA EMPRESA</h5>
            {{ form_start(form) }}
            <label>Nome da emprea*</label>
            {{ form_widget(form.nome,{attr:{'placeholder':'Digite o nome da empresa','class':'caixa shadow-none'}}) }}

            <label>NIF da emprea*</label>
            {{ form_widget(form.nif,{attr:{'placeholder':'Digite o nif da empresa','class':'caixa shadow-none'}}) }}

            <label>Endereço*</label>
            {{ form_widget(form.bairro,{attr:{'class':'caixa shadow-none'}}) }}
            <label>Contato*</label>
            {{ form_widget(form.telefone,{attr:{'placeholder':'Digite o contato telefónico','class':'caixa shadow-none'}}) }}

            <label>Carregar logomarca (jpg,jpeg,png)*</label>
            {{ form_widget(form.imageFile,{attr:{'class':'caixa shadow-none'}}) }}

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

            </div>
        </div>

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


{% endblock %}