@props(['name','placeholder','class'])
@php($type ??= 'text')
{!!
Form::password($name,[
'class'=>($errors->has($name) ? 'border-theme-6' : '').' input w-full border mt-2 '.
($class ?? ''),
'placeholder'=>t_($placeholder ?? ''),
])
!!}
@error($name)
{{ $message }}
@enderror
{!!
Form::password($name.'_confirmation',[
'class'=>' input w-full border mt-2 '.
($class ?? ''),
'placeholder'=>t_($placeholder ?? '')
])
!!}