2023-06-09 13:55:21 +00:00
|
|
|
<div>
|
2024-05-21 09:23:53 +00:00
|
|
|
<form wire:submit='viaLink' class="flex flex-col gap-2 lg:items-center lg:flex-row">
|
2023-06-09 13:55:21 +00:00
|
|
|
<x-forms.input id="email" type="email" name="email" placeholder="Email" />
|
2023-06-12 10:00:01 +00:00
|
|
|
<x-forms.select id="role" name="role">
|
2024-02-23 11:34:36 +00:00
|
|
|
<option value="owner">Owner</option>
|
2023-06-12 10:00:01 +00:00
|
|
|
<option value="admin">Admin</option>
|
|
|
|
<option value="member">Member</option>
|
|
|
|
</x-forms.select>
|
|
|
|
<x-forms.button type="submit">Generate Invitation Link</x-forms.button>
|
|
|
|
@if (is_transactional_emails_active())
|
|
|
|
<x-forms.button wire:click.prevent='viaEmail'>Send Invitation Email</x-forms.button>
|
|
|
|
@endif
|
2023-06-09 13:55:21 +00:00
|
|
|
</form>
|
|
|
|
</div>
|