@extends('admin.layouts.default') @section('content')
{!! htmlScriptTagJsApi() !!} @include('admin.layouts.partials.breadcrumb')
{{__('admin.change_password')}}
{{$model->role()->first()->name}}
{{ html()->form('POST')->route('admin.change-password.store',$model->id)->acceptsFiles()->open() }}
{{ html()->label(__('admin.current_password'))->class('mb-2.5 font-semibold text-black dark:text-white') }} {{ html()->span('*')->class('text-danger') }} {{ html()->password('current_password', null)->class( 'w-full rounded border-[1.5px] border-stroke bg-transparent py-3 px-5 font-medium outline-none transition focus:border-primary active:border-primary disabled:cursor-default disabled:bg-whiter dark:border-form-strokedark dark:bg-form-input dark:focus:border-primary' . ($errors->has('current_password') ? ' border-red-500' : ''), )->placeholder('xxxxxxxxx') }} @include('admin.layouts.components.validation', ['name' => 'current_password'])
{{ html()->label(__('admin.new_password'))->class('mb-2.5 font-semibold text-black dark:text-white') }} {{ html()->span('*')->class('text-danger') }} {{ html()->password('password', null)->class( 'w-full rounded border-[1.5px] border-stroke bg-transparent py-3 px-5 font-medium outline-none transition focus:border-primary active:border-primary disabled:cursor-default disabled:bg-whiter dark:border-form-strokedark dark:bg-form-input dark:focus:border-primary' . ($errors->has('password') ? ' border-red-500' : ''), )->placeholder('xxxxxxxxx') }} @include('admin.layouts.components.validation', ['name' => 'password'])
{{ html()->label(__('admin.confirm_new_password'))->class('mb-2.5 font-semibold text-black dark:text-white') }} {{ html()->span('*')->class('text-danger') }} {{ html()->password('password_confirmation', null)->class( 'w-full rounded border-[1.5px] border-stroke bg-transparent py-3 px-5 font-medium outline-none transition focus:border-primary active:border-primary disabled:cursor-default disabled:bg-whiter dark:border-form-strokedark dark:bg-form-input dark:focus:border-primary' . ($errors->has('password_confirmation') ? ' border-red-500' : ''), )->placeholder('xxxxxxxxx') }} @include('admin.layouts.components.validation', ['name' => 'password_confirmation'])
{{ html()->form()->close() }}
@endsection