@extends('Admin.master_page')

@section('title') <h5 class="m-0 font-weight-bold text-primary" style="float: left;">Change Password</h5> 

@endsection

@section('content')

<div class="intro-y box">
        <form action="{{ route('profile.change.password.save') }}" method="POST">
            @csrf

        <label for="Name" >New Password</label>
        <div class="input-group" style="margin-top: 10px;">
           <input type="password" name="password" class="form-control" placeholder="Enter Your Password">
            @error('password')
            <span class="alert-danger">{{ $message }}</span>
            @enderror
        </div>

        <br>

        <label for="Name" >Confirm New Password</label>
        <div class="input-group" style="margin-top: 10px;">
           <input type="password" name="confirm" class="form-control" placeholder="Confirm Your Password">
            @error('confirm')
            <span class="alert-danger">{{ $message }}</span>
            @enderror
        </div>

        <br>

        <button type="submit" class="btn btn-primary">Change Password</button>
        </form>
    </div>

@endsection