28 lines
954 B
PHP
28 lines
954 B
PHP
|
|
<x-layouts.auth>
|
||
|
|
<div class="text-2xl">
|
||
|
|
<h1 class="text-center m-5">Log in</h1>
|
||
|
|
|
||
|
|
<form class="flex flex-col gap-5" method="POST" action="{{route("login")}}">
|
||
|
|
@csrf
|
||
|
|
@if($errors->any())
|
||
|
|
<div class="text-red-500">
|
||
|
|
@foreach($errors->all() as $error)
|
||
|
|
<p>{{$error}}</p>
|
||
|
|
@endforeach
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
<div class="flex flex-col">
|
||
|
|
<label class="py-5" for="email">Email</label>
|
||
|
|
<input class="bg-white" type="email" name="email" value="{{old("email")}}"/>
|
||
|
|
</div>
|
||
|
|
<div class="flex flex-col">
|
||
|
|
<label class="py-5" for="password">Password</label>
|
||
|
|
<input class="bg-white" type="password" name="password"/>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<button type="submit">Submit</button>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</x-layouts.auth>
|