<form wire:submit.prevent="activate">
    <!--[if BLOCK]><![endif]--><?php if($error && $error_message): ?>
        <div class="mb-4 p-4 bg-red-50 border border-red-200 rounded-lg">
            <div class="flex">
                <div class="flex-shrink-0">
                    <i class="ph ph-warning text-red-400"></i>
                </div>
                <div class="ml-3">
                    <p class="text-sm text-red-800"><?php echo e($error_message); ?></p>
                </div>
            </div>
        </div>
    <?php endif; ?><!--[if ENDBLOCK]><![endif]-->

    <div class="text-gray-600">
        Êtes-vous sûr de vouloir activer cet établissement ?
        <p class="mb-4">
            Votre établissement sera activé et accessible par tous les utilisateurs. 
            Vous serez capable de recevoir des prescriptions de médicaments à traiter.
        </p>
        <p class="mb-0">
            <input type="checkbox" name="accept_terms" id="accept_terms">
            <label for="accept_terms">J'accepte les <a href="<?php echo e(route('terms')); ?>" target="_blank" class="text-blue-500">conditions d'utilisation</a> et la <a href="<?php echo e(route('privacy')); ?>" target="_blank" class="text-blue-500">politique de confidentialité</a>.</label>
        </p>
    </div>

    <div class="mt-6 border-t border-gray-200 pt-6">

        <?php if (isset($component)) { $__componentOriginal26cec1ed531c681893e5ab894ddc394f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal26cec1ed531c681893e5ab894ddc394f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.basics.button','data' => ['variant' => 'success','disabled' => $activating,'type' => 'submit','class' => 'w-full','wireTarget' => 'activate']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('basics.button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['variant' => 'success','disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($activating),'type' => 'submit','class' => 'w-full','wireTarget' => 'activate']); ?>
            <span wire:loading.remove>Activer l'établissement</span>
            <span wire:loading wire:target="activate">Activation en cours...</span>
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal26cec1ed531c681893e5ab894ddc394f)): ?>
<?php $attributes = $__attributesOriginal26cec1ed531c681893e5ab894ddc394f; ?>
<?php unset($__attributesOriginal26cec1ed531c681893e5ab894ddc394f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal26cec1ed531c681893e5ab894ddc394f)): ?>
<?php $component = $__componentOriginal26cec1ed531c681893e5ab894ddc394f; ?>
<?php unset($__componentOriginal26cec1ed531c681893e5ab894ddc394f); ?>
<?php endif; ?>

    </div>
</form>
<?php /**PATH D:\WORK\MAARIFA\ANGO\DESKTOP\V4\ango-desktop\resources\views/livewire/merchant/modal-activate.blade.php ENDPATH**/ ?>