@extends('layouts.auth')

@section('content')
<div class="container">

    <div class="modal fade login" id="resetPasswordModal">
        <div class="modal-dialog login animated">
            <div class="modal-content">

                <div class="modal-body">
                    <div class="box">
                        <div class="content resetPasswordBox">
                            <form class="form" id="resetpasswordform" data-reset="{{ route('password.update') }}">
                                @csrf
                                <input type="hidden" name="token" value="{{ $token }}">

                                <div class="form">
                                    <div style="margin: 5px;"><img src="{{ get_asset('dist/auth/img/srm-logo.jpg')}}"
                                            width="100%" /></div>
                                    {{-- <input id="email" class="form-control" type="text" placeholder="Email"
                                        name="email" value="{{ $email }}"> --}}
                                    <input id="password" class="form-control" type="password"
                                        placeholder="Enter password" name="password">
                                    <input id="answer" class="form-control" type="password"
                                        placeholder="Enter your password confirmation" name="password_confirmation">
                                    <input class="btn btn-default btn-login" id="resetPassword" type="button"
                                        value="Reset Password">
                                </div>
                            </form>
                            <div class="alert alert-danger" id="error" style="margin-top: 0.5em">

                            </div>
                            <div class="alert alert-success" id="success" style="margin-top: 0.5em">

                            </div>

                        </div>
                    </div>
                    <div class="modal-footer">
                        <div class="forgot forget-footer">
                            <a href="{{ route('login') }}">Login</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>

    <script src="{{ get_asset('dist/auth/js/jquery-1.10.2.js')}}" type="text/javascript"></script>
    <script src="{{ get_asset('dist/auth/js/bootstrap.js')}}" type="text/javascript"></script>
    <script src="{{ get_asset('dist/auth/js/reset-password.js')}}" type="text/javascript"></script>

    @endsection