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

{% block title %} {{ parent() }}{% endblock %}

{% block stylesheets %} {{ parent() }}{% endblock %}
{% block javascripts %} {{ parent() }}{% endblock %}

{% block body %}

<div class="container-fluid py-4">
    <div class="row" style="justify-content: center;">
        <div class="col-6">

            <div class="card mb-4">
                {#{% include '_partials/_flash.html.twig' %}#}
                <div class="card-body px-0 pt-0 pb-2">
                    <div style="padding: 40px;">
                    <h5>ATUALIZAR DAODS DO USUÁRIO</h5>
                    {{ form_start(form) }}
                        <label class="my-1">Número da ordem*</label>
                        {{ form_widget(form.numOrdem,{attr:{'placeholder':'Digite o número da ordem','class':'caixa shadow-none'}}) }}
                        <label class="my-1">Telefone*</label>
                        {{ form_widget(form.telefone,{attr:{'class':'caixa shadow-none'}}) }}
                        <label class="my-1"></label>
                        {{ form_widget(form.isAtivo) }}
                    <div class="row justify-content-center">
                        <div class="col-3 my-3">
                            <button type="submit" id="btn-servico" class="btn col-12 btn-success shadow-none"><i class="fas fa-save"></i> Salvar</button>
                        </div>
                        <div class="col-3 my-3">
                            <a href="{{ path('app_admin_usuarios_index') }}" class="btn btn-danger  col-12 shadow-none"
                               style="border: none; padding-bottom: 11px;"><i class="fas fa-window-close"></i> Voltar</a>
                        </div>
                    </div>
                    {{ form_end(form) }}
                    </div>
                </div>
            </div>
        </div>
    </div>


</div>




{% endblock %}
