lasthourcloud/resources/views/livewire/switch-team.blade.php

9 lines
314 B
PHP
Raw Normal View History

2023-07-14 09:27:08 +00:00
<div class="w-64">
2023-12-07 21:56:55 +00:00
<x-forms.select wire:model.live="selectedTeamId">
2023-06-02 10:34:45 +00:00
<option value="default" disabled selected>Switch team</option>
@foreach (auth()->user()->teams as $team)
<option value="{{ $team->id }}">{{ $team->name }}</option>
2023-06-01 10:15:33 +00:00
@endforeach
2023-06-02 10:34:45 +00:00
</x-forms.select>
</div>