@extends('layouts.website.website')
@section('content')
    <section id="main-content">
        <section class="wrapper site-min-height">
            <!-- page start-->
            <div class="col-md-8 row">
                <section class="panel">
                    <header class="panel-heading">
                        Manage Profile </header>
                    <div class="panel-body">
                        <div class="adv-table editable-table ">
                            <div class="clearfix">
                                <form role="form" action="{{ route('update_profile') }}" class="clearfix" method="post" enctype="multipart/form-data">
                                    @csrf
                                    <div class="form-group">
                                        <label for="exampleInputEmail1">Name</label>
                                        <input type="text" class="form-control" name="name" id="exampleInputEmail1"
                                            value="{{ Auth::user()->name }}" placeholder="">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputEmail1">Change Password</label>
                                        <input type="password" class="form-control" name="password" id="exampleInputEmail1"
                                            placeholder="********">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputEmail1">Email</label>
                                        <input type="text" class="form-control" name="email" id="exampleInputEmail1"
                                            value="{{ Auth::user()->email }}" placeholder="">
                                    </div>
                                    <input type="hidden" name="id" value="{{ Auth::user()->id }}">
                                    <div class="form-group">
                                        <button type="submit" name="submit" class="btn btn-info pull-right">Submit</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </section>
            </div>
            <!-- page end-->
        </section>
    </section>
@endsection
