refactor: menambahkan tanda required
This commit is contained in:
parent
bbab732bd2
commit
6fb2832ad5
@ -18,8 +18,12 @@ class="size-8 rounded shrink-0 bg-accent text-accent-foreground flex items-cente
|
||||
</flux:text>
|
||||
|
||||
<div class="flex flex-col gap-6">
|
||||
<flux:input wire:model="email" label="Email" type="text" placeholder="info.pangestuyoga@gmail.com"
|
||||
autocomplete="off" />
|
||||
<flux:field>
|
||||
<flux:label>Email <span class="text-red-500 ms-1">*</span></flux:label>
|
||||
<flux:input wire:model="email" type="text" placeholder="info.pangestuyoga@gmail.com"
|
||||
autocomplete="off" />
|
||||
<flux:error name="email" />
|
||||
</flux:field>
|
||||
|
||||
<flux:button variant="primary" class="w-full cursor-pointer" wire:click="sendLink">Kirim Tautan
|
||||
</flux:button>
|
||||
|
||||
@ -18,11 +18,18 @@ class="size-8 rounded shrink-0 bg-accent text-accent-foreground flex items-cente
|
||||
</flux:text>
|
||||
|
||||
<div class="flex flex-col gap-6">
|
||||
<flux:input label="Kata Sandi" wire:model="form.password" type="password" placeholder="********"
|
||||
viewable />
|
||||
<flux:field>
|
||||
<flux:label>Kata Sandi <span class="text-red-500 ms-1">*</span></flux:label>
|
||||
<flux:input wire:model="form.password" type="password" placeholder="********" viewable />
|
||||
<flux:error name="form.password" />
|
||||
</flux:field>
|
||||
|
||||
<flux:input label="Konfirmasi Kata Sandi" wire:model="form.password_confirmation" type="password"
|
||||
placeholder="********" viewable />
|
||||
<flux:field>
|
||||
<flux:label>Konfirmasi Kata Sandi <span class="text-red-500 ms-1">*</span></flux:label>
|
||||
<flux:input wire:model="form.password_confirmation" type="password" placeholder="********"
|
||||
viewable />
|
||||
<flux:error name="form.password_confirmation" />
|
||||
</flux:field>
|
||||
|
||||
<flux:button variant="primary" class="w-full cursor-pointer" wire:click="resetPassword">Atur Ulang
|
||||
</flux:button>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user