<div class="container-fluid">
    <div class="">
        <div class="d-flex justify-content-between align-items-center">
            <h1 class="fw-bold">Editar Evento</h1>
            <a href="?page=events" class="btn btn-secondary fw-bold">
                <i class="fas fa-arrow-left me-2"></i>Volver
            </a>
        </div>
    </div>
    <div class="row justify-content-center">
        <div class="col-12 col-sm-12 col-md-10 col-lg-8 col-xl-7">
            <div class="form-card-wrapper">
                <div class="card p-2 border-0 shadow">
                    <div class="card-body">
                        <form action="" method="POST" id="form">
                            <input type="hidden" name="id" id="id" value="<?php echo $_GET['id'] ?? '' ?>">
                            <div class="form-floating mb-2">
                                <input type="text" class="form-control border-0 border-bottom rounded-0" id="name" name="name" placeholder="Nombre" maxlength="255">
                                <label for="name" class="form-label">Nombre</label>
                            </div>
                            <div class="form-floating mb-2">
                                <input type="text" class="form-control border-0 border-bottom rounded-0" id="place" name="place" placeholder="Lugar" maxlength="255">
                                <label for="place" class="form-label">Lugar</label>
                            </div>
                            <div class="form-floating mb-2">
                                <input type="date" class="form-control border-0 border-bottom rounded-0" id="date" name="date" placeholder="Fecha">
                                <label for="date" class="form-label">Fecha</label>
                                <label for="banner" class="form-label">Banner del Evento</label>
                                <input type="file" class="filepond" id="banner" name="event_banner" accept="image/*">
                            </div>
                            <div class="mb-4">
                                <select class="form-select border-0 border-bottom rounded-0" name="status" id="status" placeholder="Estado">
                                    <option disabled selected value="">Seleccione un estado</option>
                                    <option value="1">Activo</option>
                                    <option value="0">Inactivo</option>
                                </select>
                            </div>
                            <div class="d-grid gap-2">
                                <button type="submit" class="btn btn-primary btn-lg" id="submit">
                                    <i class="fas fa-save me-2"></i>Actualizar
                                </button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>