<?php $__env->startSection('title', 'Church Profile'); ?>
<?php $__env->startSection('kicker', 'Church identity and contact details'); ?>

<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('partials.module-tabs', ['tabs' => [
        ['label' => 'Church Profile', 'route' => 'settings.church-profile', 'icon' => 'landmark'],
        ['label' => 'User Positions', 'route' => 'settings.user-positions', 'icon' => 'briefcase-business'],
        ['label' => 'Member Positions', 'route' => 'settings.member-positions', 'icon' => 'users'],
        ['label' => 'Service Types', 'route' => 'settings.service-types', 'icon' => 'calendar-days'],
        ['label' => 'Sacraments', 'route' => 'settings.sacrament-types', 'icon' => 'cross'],
        ['label' => 'Attendance', 'route' => 'settings.attendance', 'icon' => 'clipboard-check'],
        ['label' => 'Registration', 'route' => 'settings.registration', 'icon' => 'toggle-right'],
        ['label' => 'QR Code', 'route' => 'settings.qr', 'icon' => 'qr-code'],
    ]], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <div class="form-card">
        <form method="POST" action="<?php echo e(route('settings.church-profile.update')); ?>">
            <?php echo csrf_field(); ?>
            <div class="row g-3">
                <div class="col-md-6"><label class="form-label">Church Name</label><input type="text" name="church_name" value="<?php echo e(old('church_name', $profile->church_name)); ?>" class="form-control" required></div>
                <div class="col-md-3"><label class="form-label">Diocese</label><input type="text" name="diocese" value="<?php echo e(old('diocese', $profile->diocese)); ?>" class="form-control"></div>
                <div class="col-md-3"><label class="form-label">Parish</label><input type="text" name="parish" value="<?php echo e(old('parish', $profile->parish)); ?>" class="form-control"></div>
                <div class="col-md-4"><label class="form-label">Location</label><input type="text" name="location" value="<?php echo e(old('location', $profile->location)); ?>" class="form-control" required></div>
                <div class="col-md-4"><label class="form-label">Phone</label><input type="text" name="phone" value="<?php echo e(old('phone', $profile->phone)); ?>" class="form-control"></div>
                <div class="col-md-4"><label class="form-label">Email</label><input type="email" name="email" value="<?php echo e(old('email', $profile->email)); ?>" class="form-control"></div>
                <div class="col-md-6"><label class="form-label">Logo Path</label><input type="text" name="logo_path" value="<?php echo e(old('logo_path', $profile->logo_path)); ?>" class="form-control"></div>
                <div class="col-12"><label class="form-label">Address</label><textarea name="address" rows="3" class="form-control"><?php echo e(old('address', $profile->address)); ?></textarea></div>
            </div>
            <button class="btn btn-primary mt-4"><i data-lucide="save"></i><span>Save Profile</span></button>
        </form>
    </div>
<?php $__env->stopSection(); ?>

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