@extends('layouts.app', ['activePage' => 'register', 'title' => 'Light Bootstrap Dashboard Laravel by Creative Tim &
UPDIVISION'])

@section('content')
<div class="content">
    <div class="container-fluid mt-5">
        <div class="col-md-4 col-sm-6 ml-auto mr-auto">
            <form method="POST" action="{{ route('register') }}">
                @csrf
                <div class="text-center">
                    <img class="img-fluid w-25"
                        src="{{ asset('light-bootstrap/img/Universitas-Mathlaul-Anwar-Banten.png') }}"
                        alt="Card image cap">
                    <br>
                    <img class="img-fluid" src="{{ asset('light-bootstrap/img/banner.png') }}" alt="...">
                </div>
                <div class="card card-login card-hidden">

                    <div class="card-header text-center ">
                        <h3 class="header text-center">{{ __('Registration') }}</h3>


                    </div>
                    <div class="card-body ">
                        <div class="card-body">
                            <div class="form-group">

                                <div class="col-md-14">
                                    <div class="form-group">
                                <label for="name" class="col-md-6 col-form-label">{{ __('Name') }}</label>

                                        <input type="text" name="name" id="name" class="form-control"
                                            placeholder="{{ __('Name') }}" value="{{ old('name') }}" required autofocus>
                                    </div>
                                </div>
                                <div class="form-group"> {{-- is-invalid make border red --}}
                                <label for="email" class="col-md-6 col-form-label">{{ __('Email') }}</label>

                                    <input type="email" name="email" value="{{ old('email') }}"
                                        placeholder="Enter email" class="form-control" required>
                                </div>
                                <div class="form-group">
                                <label for="password" class="col-md-6 col-form-label">{{ __('Password') }}</label>

                                    <input type="password" name="password" class="form-control" required>
                                </div>
                                <!-- <div class="form-group">
                                <label for="password_confirmation" class="col-md-6 col-form-label">{{ __('Password Confirmation') }}</label>

                                    <input type="password" name="password_confirmation"
                                        placeholder="Password Confirmation" class="form-control" required autofocus>
                                </div> -->
                                <!-- <div class="form-group d-flex justify-content-center">
                                    <div class="form-check rounded col-md-10 text-left">
                                        <label class="form-check-label d-flex align-items-center">
                                            <input class="form-check-input" name="agree" type="checkbox" required>
                                            <span class="form-check-sign"></span>
                                            <b>{{ __('Agree with terms and conditions') }}</b>
                                        </label>
                                    </div>
                                </div> -->
                            </div>
                        </div>
                        <div class="card-footer ml-auto mr-auto">
                            <div class="container text-center">
                                <button type="submit"
                                    class="btn btn-info btn-wd">{{ __('Create Account') }}</button>
                            </div>

                        </div>
                    </div>
                </div>
                <div class="card card-plain">
                    <div class="content">






                        <div class="footer text-center">

                        </div>
                    </div>
                </div>
            </form>
        </div>
        @foreach ($errors->all() as $error)
        <div class="alert alert-warning alert-dismissible fade show">
            <a href="#" class="close" data-dismiss="alert" aria-label="close"> &times;</a>
            {{ $error }}
        </div>
        @endforeach
    </div>
</div>
</div>
@endsection

@push('js')
<script>
    $(document).ready(function () {
        demo.checkFullPageBackgroundImage();

        setTimeout(function () {
            // after 1000 ms we add the class animated to the login/register card
            $('.card').removeClass('card-hidden');
        }, 700)
    });

</script>
@endpush
