@extends('layouts.index')
@section('css-part')
<link rel="stylesheet" href="{{ asset('assets/css/general.panel.css') }}">
@endsection
@section('js-part')
<script src="{{ asset('assets/js/city.js') }}"></script>
<script src="{{ asset('assets/js/general.panel.js') }}"></script>
<script src="{{ asset('assets/js/profile.panel.js') }}"></script>
@endsection
@section('panel')
@include('layouts.header.header')
@include('layouts.nav.nav')
@endsection
@section('container')
<div class="container">
    <h2 class=" text-center mt-3">اطلاعات کاربری شما</h2>
    @include('layouts.notification.success')
    @include('layouts.notification.error')
    <h2 class="mt-5">تغییر رمز عبور</h2>
    <form action="{{ route('worker.post.password') }}" method="post">
        <div class="col-12 col-lg-4">
            {{csrf_field()}}
            <input type="password" class=" form-control mt-3" name="current_password" id="current_password" placeholder="رمز عبور فعلی">
            <input type="password" class=" form-control mt-3" name="password" id="password" placeholder="رمز عبور جدید">
            <input type="password" class=" form-control mt-3" name="password_confirmation" id="password_confirmation" placeholder="تکرار رمز عبور">
            <button type="submit" class="btn btn-warning w-100 mt-3 mb-5" id="changePasswordBtn">تغییر رمز</button>
        </div>
    </form>

</div>
@endsection