<div class="modal" id="modalAddContact">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h5>Nuevo tipo de contacto</h5>
            </div>
            <div class="modal-body">
                <form action="/pacientes/contacto/add/<%= patient.id %>" method="POST">
                    <div class="row">
                        <div class="col-md-3">
                            <label class="col-form-label">Seleccione tipo</label>
                        </div>
                        <div class="col-md-3">
                            <select class="form-select" name="contacto">
                                <option value="1">Tel√©fono</option>
                                <option value="2">Email</option>
                            </select>
                        </div>
                        <div class="col-md-6">
                            <input type="text" class="form-control" name="contacto">
                        </div>

                    </div>
                    <br>
                    <div class="row">
                        <div class="col-md-3">
                            <label class="col-form-label">Comentario</label>
                        </div>
                        <div class="col-md-9">
                            <input type="text" class="form-control" name="comentario">
                        </div>
                    </div>
                    <br>
                    <div class="modal-footer">
                        <div id="botonesmodal from-group">
                            <button type="submit" class="btn btn-success btn-md" >Crear</button>
                            <button type="button" class="btn btn-danger btn-md" data-bs-dismiss="modal">Cancelar</button>
                        </div>
                    </div>
                </form>
            </div>

        </div>
    </div>
</div>