@extends('template.'.config('settings.template').'.content.master')

@section('content')
    <div class="row justify-content-center">
        <div class="col-12 col-md-8 ">
            <br>
            <br>
            <br>
            <div class="card">

                <h2 class="card-header">Arbeitgeber {{ __('Login') }}</h2>
                <br>
                <br>
                <br>

                <div class="card-body" style="background-color:#fdf7f37d;">
                    <form method="POST" action="{{ route('dashboard.login') }}">
                        @csrf

                        <div class="form-group row mb-3">
                            <label for="email" class="col-md-4 col-form-label text-md-right">E-Mail Adresse</label>

                            <div class="col-md-6">
                                <input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>

                                @error('email')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                            </div>
                        </div>

                        <div class="form-group row mb-3">
                            <label for="password" class="col-md-4 col-form-label text-md-right">Passwort</label>

                            <div class="col-md-6">
                                <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">

                                @error('password')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                            </div>
                        </div>

                        <div class="form-group row mb-3">
                            <div class="col-md-6 offset-md-4">
                                <div class="form-check">
                                    <input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>

                                    <label class="form-check-label" for="remember">
                                        Login merken
                                    </label>
                                </div>
                            </div>
                        </div>

                        <div class="form-group row mb-0">
                            <div class="col-md-8 offset-md-4" >
                                <button type="submit" class="btn btn-ci">
                                    <i class="fal fa-sign-in"></i>    {{ __('Login') }}
                                </button>


                            </div>
                        </div>
                        @if (Route::has('password.request'))
                            <a c href="{{ route('dashboard.password.request') }}">
                                Passwort vergessen?
                            </a>
                        @endif
                    </form>
                </div>
            </div>
        </div>
    </div>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
@endsection
