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

7 lines
286 B
PHP
Raw Normal View History

2024-03-21 14:30:35 +01:00
<x-forms.select wire:model.live="selectedTeamId" label="Current Team">
<option value="default" disabled selected>Switch team</option>
@foreach (auth()->user()->teams as $team)
<option value="{{ $team->id }}">{{ $team->name }}</option>
2024-03-21 14:30:35 +01:00
@endforeach
</x-forms.select>