@extends('yonetim.yonetim_master')

@section('main')
    <section class="section">
        <div class="section-body">
            <div class="row">
                <div class="col-12 col-md-9 col-lg-9">


                    <div class="card">



                        <form action="{{ route('update.password') }}" method="post">
                            @csrf
                            <div class="card-body">

                                <div class="col-lg-12 mx-auto">

                                    <a href="{{route('admin.all')}}" class="btn btn-success float-right"><i class="fa fa-backward"></i> Geri Dön</a>
                                    <br>




                                    <div class="form-group">
                                        <label>Eski Şifre</label>
                                        <input required name="oldpassword" class="form-control" type="password" value="">
                                    </div>

                                    <div class="form-group">
                                        <label>Yeni Şifre</label>
                                        <input required name="newpassword" type="password" class="form-control" value="">
                                    </div>


                                    <div class="form-group">
                                        <label>Yeni Şifre Tekrar</label>
                                        <input required name="newpassword2" type="password" class="form-control" value="">
                                    </div>



                                    <div class="card-footer text-right">
                                        <button type="submit" name="genelayarkaydet" class="btn btn-primary">Güncelle</button>



                                    </div>


                                </div>
                            </div>
                        </form>


                    </div>





                </div>

            </div>

        </div>
    </section>
@endsection
