Add users, teams, authentication, profile/login/register/navbar views
This commit is contained in:
6
resources/views/livewire/switch-team.blade.php
Normal file
6
resources/views/livewire/switch-team.blade.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<div>
|
||||
@foreach (auth()->user()->otherTeams() as $team)
|
||||
<button wire:key="{{ $team->id }}" wire:click="switch_to('{{ $team->id }}')">Switch to:
|
||||
{{ $team->name }}</button>
|
||||
@endforeach
|
||||
</div>
|
||||
Reference in New Issue
Block a user