1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-18 00:13:12 +01:00
my-idlers/resources/views/auth/login.blade.php
cp6 9f53afb409 Updated blade components to use Bootstrap classes
Updated blade components to use Bootstrap classes
2022-02-20 22:00:05 +11:00

45 lines
1.8 KiB
PHP

@section('title') {{'Login'}} @endsection
<x-guest-layout>
<x-auth-card>
<!-- Session Status -->
<x-auth-session-status class="mb-4" :status="session('status')"/>
<!-- Validation Errors -->
<x-auth-validation-errors class="mb-4" :errors="$errors"/>
<h3 class="text-center mb-4">My idlers</h3>
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="form-floating mb-3">
<x-label for="email" :value="__('Email')"/>
<x-input id="email" class="form-control" type="email" name="email" :value="old('email')" required
autofocus/>
</div>
<div class="form-floating mb-3">
<x-label for="password" :value="__('Password')"/>
<x-input id="password" class="form-control"
type="password"
name="password"
required autocomplete="current-password"/>
</div>
<div class="form-check mb-3">
<input class="form-check-input" type="checkbox" value="remember-me" id="remember-me">
<label class="form-check-label" for="remember-me">
Remember me
</label>
</div>
@if (Route::has('password.request'))
<a class="text-decoration-none" href="{{ route('password.request') }}">
{{ __('Forgot your password?') }}
</a>
@endif
<x-button class="mt-3 w-100 btn btn-lg btn-primary">
{{ __('Login') }}
</x-button>
</form>
</x-auth-card>
</x-guest-layout>