aboutsummaryrefslogblamecommitdiff
path: root/resources/views/pages/login.blade.php
blob: 4c21ae51c053b7c68e004d1f6a0f60bc5f0b2cf3 (plain) (tree)
1
2
3
4
5
6
7
8


                       




                                   



                                                  



                                                                                                          


                                      



                                                                                                                




                                                               
             
@extends('layouts.app')

@section('content')
@if (session('status'))
  <div class="alert alert-success">
    {{ session('status') }}
  </div>
@endif
<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">
    @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">
    @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()