@php use MoonShine\Fields\Text; use MoonShine\Decorations\Grid; use MoonShine\Decorations\Column; use MoonShine\Components\FormBuilder; use Illuminate\Support\Str; use MoonShine\Fields\Select; use MoonShine\Decorations\Block; use MoonShine\Components\Title; use MoonShine\Fields\Template; use \MoonShine\Fields\Hidden; @endphp {!! Grid::make([ Column::make([ FormBuilder::make( action: route('password.update.game'), fields: [ Hidden::make('','account')->default($account), Text::make('', 'current_password')->eye()->placeholder(__('panel/auth/dashboard.change_account_password.0')) ->setAttribute('minlength',config('cabinet.register.min_password_length')) ->setAttribute('maxlength',config('cabinet.register.max_password_length')) ->required(), Text::make('', 'password')->eye()->placeholder(__('panel/auth/dashboard.change_account_password.1')) ->setAttribute('minlength',config('cabinet.register.min_password_length')) ->setAttribute('maxlength',config('cabinet.register.max_password_length')) ->required(), Text::make('', 'password_confirmation')->eye()->placeholder(__('panel/auth/dashboard.change_account_password.2')) ->setAttribute('minlength',config('cabinet.register.min_password_length')) ->setAttribute('maxlength',config('cabinet.register.max_password_length')) ->required(), view('components.recaptcha.recaptcha') ])->name('password-update-game-account')->submit(label: __('panel/auth/dashboard.change_account_password.3'), attributes: ['class' => 'btn-close w-full']) , ])->columnSpan(12), ]) !!}