16 lines
676 B
PHP
16 lines
676 B
PHP
<x-layout.app>
|
|
<x-slot:page_title>Impersonation</x-slot:page_title>
|
|
<x-card.card class="max-w-lg mx-auto">
|
|
<x-card.heading>Select User to Impersonate</x-card.heading>
|
|
<x-form.form method="POST" action="{{ route('impersonate.start') }}">
|
|
<x-form.select name="user_id">
|
|
<x-slot:label>User to impersonate</x-slot:label>
|
|
@foreach ($users as $user)
|
|
<option value="{{ $user->id }}">{{ $user->full_name() }}</option>
|
|
@endforeach
|
|
</x-form.select>
|
|
<x-form.footer submit-button-text="Impersonate" />
|
|
</x-form.form>
|
|
</x-card.card>
|
|
</x-layout.app>
|