refactor(invite-link): adjust layout for better responsiveness in form
This commit is contained in:
parent
a73cfd8b09
commit
956139564c
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<form wire:submit='viaLink' class="flex flex-col items-start gap-2 lg:items-end lg:flex-row">
|
||||
<div class="flex flex-1 gap-2">
|
||||
<div class="flex flex-1 w-full gap-2">
|
||||
<x-forms.input id="email" type="email" label="Email" name="email" placeholder="Email" required />
|
||||
<x-forms.select id="role" name="role" label="Role">
|
||||
@if (auth()->user()->role() === 'owner')
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
<option value="member">Member</option>
|
||||
</x-forms.select>
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
<div class="flex gap-2 w-full">
|
||||
<x-forms.button type="submit">Generate Invitation Link</x-forms.button>
|
||||
@if (is_transactional_emails_enabled())
|
||||
<x-forms.button wire:click.prevent='viaEmail'>Send Invitation via Email</x-forms.button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue