Complete TP7 TP8 authentication authorization and classic CSS

This commit is contained in:
2026-10-21 00:48:38 +02:00
parent 4a84a17cbf
commit ffe85d5f0d
101 changed files with 7643 additions and 110 deletions
@@ -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