Complete TP7 TP8 authentication authorization and classic CSS
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<h2>Connexion</h2>
|
||||
|
||||
@if ($errors->any())
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('login.store') }}">
|
||||
@csrf
|
||||
<div>
|
||||
<label for="email">E-mail</label>
|
||||
<input id="email" type="email" name="email" value="{{ old('email') }}" required autofocus>
|
||||
</div>
|
||||
<div>
|
||||
<label for="password">Mot de passe</label>
|
||||
<input id="password" type="password" name="password" required>
|
||||
</div>
|
||||
<button type="submit">Se connecter</button>
|
||||
</form>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user