<?php $__env->startSection('title', __('Nuevo evento')); ?>

<?php $__env->startSection('content'); ?>
    <div class="rt-events-hub mb-3">
        <div class="d-sm-flex align-items-start justify-content-between rt-flex-gap-3 mb-2">
            <div>
                <nav aria-label="breadcrumb" class="mb-1">
                    <ol class="breadcrumb bg-transparent p-0 mb-0" style="font-size:.82rem">
                        <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard.events.index')); ?>"><?php echo e(__('Eventos')); ?></a></li>
                        <li class="breadcrumb-item active" aria-current="page"><?php echo e(__('Nuevo')); ?></li>
                    </ol>
                </nav>
                <h1 class="h3 mb-0 text-gray-800 font-weight-bold"><?php echo e(__('Nuevo evento')); ?></h1>
                <p class="small text-muted mb-0">
                    <i class="bi bi-person-circle mr-1" aria-hidden="true"></i>
                    <?php echo e(__('Autor:')); ?> <strong><?php echo e(auth()->user()->name); ?></strong>
                </p>
            </div>
            <a href="<?php echo e(route('dashboard.events.index')); ?>" class="btn btn-sm btn-outline-secondary flex-shrink-0">
                <i class="bi bi-arrow-left mr-1" aria-hidden="true"></i><?php echo e(__('Volver al listado')); ?>

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

    <form
        id="rt-event-form"
        class="rt-event-form-theme"
        method="post"
        action="<?php echo e(route('dashboard.events.store')); ?>"
        data-featured-upload-url="<?php echo e(route('dashboard.uploads.event-featured')); ?>"
        data-venue-store-url="<?php echo e(route('dashboard.catalog.venues.store')); ?>"
        data-category-store-url="<?php echo e(route('dashboard.catalog.categories.store')); ?>"
        data-google-maps-key="<?php echo e(config('services.google_maps.browser_key')); ?>"
        data-featured-existing-url=""
    >
        <?php echo csrf_field(); ?>
        <?php echo $__env->make('dashboard.events._form', [
            'venues' => $venues,
            'categories' => $categories,
            'timezones' => $timezones,
            'ticketsForm' => $ticketsForm,
            'defaultTicketTemplate' => $defaultTicketTemplate,
            'event' => null,
        ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    </form>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.dashboard', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/resources/views/dashboard/events/create.blade.php ENDPATH**/ ?>