Current File : //home/tradevaly/public_html/resources/views/backend/pages/profile/reset.blade.php |
@extends('backend.ayaan.master')
@push('title','Change password')
@push('style')
@endpush
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<form id="RegisterValidation" method="post" action="{{ route('admin.password.update') }}">
@csrf
@method('put')
<div class="card ">
<div class="card-header card-header-rose card-header-icon">
<h4 class="card-title">{{translate("Change password")}}</h4>
</div>
<div class="card-body ">
<div class="form-group mb-3">
<label for="exampleEmail" class="bmd-label-floating"> {{translate("Current Password")}}</label>
<input type="password" name="old" class="form-control" id="exampleEmail old" required="true">
</div>
<div class="form-group mb-3">
<label for="examplePassword" class="bmd-label-floating">{{translate("New Password")}}</label>
<input type="password" name="new" class="form-control" id="examplePassword new" required="true">
</div>
<div class="form-group mb-3">
<label for="examplePassword1" class="bmd-label-floating"> {{translate("Confirm Password")}}</label>
<input type="password" name="confirm" class="form-control" id="examplePassword1 confirm" required="true" equalTo="#examplePassword">
</div>
<div class="card-footer">
<button type="submit" id="submit" class="btn btn-fill btn-info">{{translate("Confirm")}}</button>
</div>
</div>
</div>
</form>
</div>
<div class="col-md-6">
<div class="card card-profile">
<div class="card-avatar">
<div class="card-body">
<h6 class="card-category text-gray">Role: Admin</h6>
<h4 class="card-title">Name: {{$user['name']}}</h4>
<h4 class="card-title">Email: {{$user['email']}}</h4>
<h4 class="card-title">Phone: {{$user['phone']}}</h4>
<a href="{{ route('admin.profile.index') }}" class="btn btn-success btn-round">{{translate("Edit")}}</a>
</div>
</div>
</div>
</div>
</div>
@stop
@push('script')
@endpush