@include('layout.header')

<div class="recharge resetPassword">
    <!-- HEADER -->
    <nav class="top_nav">
        <div class="left">
            <a href="{{url('/user/dashboard')}}">
                <img src="{{asset('assets/img/back_arrow.png')}}" alt="" />
            </a>
            <span>Address</span>
        </div>
    </nav>
    <!-- HEADER -->
    @if(session('status'))
    <div>
        <p class="success pb-0 m-0 px-3 pt-3 success">{{ session('status') }}</p>
    </div>
    @endif
    <!-- BODY -->
    <form action="{{url('/user/address')}}" method="post">
        @csrf
        <div class="input_card">
            <ul class="card_ul list-unstyled">
                <li>
                    <p>State/Territory</p>
                    <input type="text" name="state" required value="{{$user->state}}" />
                </li>
                <li>
                    <p>City</p>
                    <input type="text" name="city" required value="{{$user->city}}" />
                </li>
                <li>
                    <p>Address</p>
                    <input type="text" name="address" required value="{{$user->address}}" />
                </li>
            </ul>

            <div class="container-fluid pb-5 pt-4">
                <div class="row">
                    <div class="col-10 col-md-8 col-lg-6 mx-auto">
                        <input type="submit" id="submit" class="w-100 btn btn-primary" value="Save" />
                    </div>
                </div>
            </div>
        </div>
    </form>
    <!-- BODY -->
</div>




@include('layout.footer')