Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

947 B
Raw Blame
<div class="w-full min-w-0">
    @if (auth()->user()->roleInTeam(currentTeam()->id) === 'owner')
    <x-modal-confirmation title="Confirm Team Deletion?" buttonFullWidth isErrorButton submitAction="delete"
        :actions="['The current Team will be permanently deleted.']" confirmationText="{{ $team }}"
        confirmationLabel="Please confirm the execution of the actions by entering the Team Name below"
        shortConfirmationLabel="Team Name">
        <x-slot:trigger>
            <button type="button" title="Delete Team" aria-label="Delete Team"
                class="menu-item justify-start text-left !text-error hover:!bg-error/10 dark:!text-error dark:hover:!bg-error/15">
                <x-reicon name="trash" class="menu-item-icon" />
                <span class="menu-item-label sidebar-collapsed-label text-left">Delete Team</span>
            </button>
        </x-slot:trigger>
    </x-modal-confirmation>
    @endif
</div>