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

{% block title %}{{ parent() }}- Serviço{% endblock %}
{% block stylesheets %}{{ parent() }}{% endblock %}
{% block javascripts %}{{ parent() }}{% endblock %}

{% block body %}
    <div class="col-4 card " style="margin: 0 auto;">

        <div class="card-body bg-white rounded-circle rounded" >
            <h5 class="text-uppercase text-center"><strong><i class="fa fa-edit"></i> Editar dados do serviço clínico</strong></h5>
            <br>
            {{ form_start(form) }}
            <div class="modal-body">
                <label >Nome do serviço*</label>
                {{ form_widget(form.nome,{attr:{'placeholder':'Digite o nome do serviço clínico','class':'caixa shadow-none'}}) }}
            </div>
            <div class="modal-body">
                <label >Ativo ?*</label>
                {{ form_widget(form.isAtivo,{attr:{'class':'caixa shadow-none'}}) }}
            </div>

            <div class="row">
                <div class="col-6 my-3">
                    <button id="btn-servico-clinico-edit" type="submit" class="btn  col-12 shadow-none btn-success"><i class="fas fa-save"></i> Alterar</button>
                </div>
                <div class="col-6 my-3">
                    <a href="{{ path('app_admin_servico_index') }}" class="btn btn-danger  col-12 shadow-none"
                       style="color: #fff; border: none; padding-bottom: 9px;"><i class="fas fa-window-close"></i> Fechar</a>
                </div>

            </div>
        </div>

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