@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content') @php $this->layout('layout/adminlogin'); @endphp
@php $form->prepare(); //$form->setAttribute('action', basePath().'/users/login/process'); $form->setAttribute('action', $this->url('admin/change-password').'?token='.$token); $form->setAttribute('method', 'post'); $form->setAttribute('id', 'loginform'); $form->setAttribute('class', 'form-horizontal'); $form->get('password')->setAttribute('class','form-control'); $form->get('password')->setAttribute('placeholder','New Password'); $form->get('confirm_password')->setAttribute('class','form-control'); $form->get('confirm_password')->setAttribute('placeholder','Confirm Password'); //$form->get('submit')->setAttribute('class','btn btn-danger'); echo $this->form()->openTag($form); @endphp {{ formElement($form->get('security')) }}

@php if(isset($message)): @endphp {{ $message }} @php else: @endphp Change Your Password @php endif; @endphp

@php echo formElement($form->get('password')); echo formElementErrors($form->get('password')); @endphp
@php echo formElement($form->get('confirm_password')); echo formElementErrors($form->get('confirm_password')); @endphp
Login
@endsection