blob: 473c23f6dc4a14ae34ef0d6d1459346c60d3ef21 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
@extends('layouts.app')
@section('content')
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
@endif
@error('failed')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
<form action="{{ route('login') }}" method="POST">
@csrf
<div class="form-group">
<label for="email">Email: </label>
<input class="form-control @error('email') is-invalid @enderror" type="email" id="email" name="email" value="{{ old('email') }}" required>
@error('email')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
</div>
<div class="form-group">
<label for="pw">Password: </label>
<input class="form-control @error('password') is-invalid @enderror" type="password" id="pw" name="password" required>
@error('password')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
</div>
<div class="form-group">
<input class="btn btn-primary" type="submit" value="Login">
</div>
</form>
@endsection()
|