lasthourcloud/resources/views/livewire/switch-team.blade.php
2023-12-07 22:56:55 +01:00

9 lines
314 B
PHP

<div class="w-64">
<x-forms.select wire:model.live="selectedTeamId">
<option value="default" disabled selected>Switch team</option>
@foreach (auth()->user()->teams as $team)
<option value="{{ $team->id }}">{{ $team->name }}</option>
@endforeach
</x-forms.select>
</div>