Current File : //home/tradevaly/public_html/resources/views/user/pages/reset.blade.php
@extends('user.ayaan.master')

@push('style')
    
@endpush

@section('content')
<div class="container-fluid">
  <div class="row">
    <div class="col-md-6">
      <form id="RegisterValidation" method="post" action="{{route('user.password')}}">@csrf
        <div class="card ">
          <div class="card-header card-header-rose card-header-icon">
            <h4 class="card-title">Change password</h4>
          </div>
          <div class="card-body ">
            <div class="form-group mb-4">
              <label for="exampleEmail" class="bmd-label-floating"> Current Password</label>
              <input type="password" name="old" class="form-control" id="exampleEmail old" required="true">
            </div>
            <div class="form-group mb-4">
              <label for="examplePassword" class="bmd-label-floating">New Password</label>
              <input type="password" name="new" class="form-control" id="examplePassword new" required="true">
            </div>
            <div class="form-group mb-4">
              <label for="examplePassword1" class="bmd-label-floating"> Confirm Password</label>
              <input type="password" name="confirm" class="form-control" id="examplePassword1 confirm" required="true" equalTo="#examplePassword">
            </div>
          </div>
          <div class="card-footer">
            <button type="submit" id="submit" class="btn btn-fill btn-info">Confirm</button>
          </div>
        </div>
      </form>
    </div>
      <div class="col-md-4">
        <div class="card card-profile">
          <div class="card-body">
            <h6 class="card-category text-gray mb-3">Role: User</h6>
            <h4 class="card-title mb-3">Name: {{$user['name']}}</h4>
            <h4 class="card-title mb-3">Mobile: {{$user->company->phone}}</h4>
            <a href="{{route('user.profile')}}" class="btn btn-success btn-round">Edit</a>
          </div>
        </div>
      </div>
  </div>
</div>
@stop

@push('script')
   
@endpush