1 ere phase complète

This commit is contained in:
2025-11-24 15:15:57 +01:00
parent 8bff5902cd
commit 57202d5112
10 changed files with 207 additions and 20 deletions

View File

@@ -2,21 +2,30 @@
@section('content')
<link href="{{ asset('css/style.css') }}" rel="stylesheet">
<h1>Création d'un nouveau client</h1>
<form action="{{ url('ajout')}}" method="POST">
<form class="form-clean" action="{{ url('/clients/ajout') }}" method="POST">
@csrf
<label for="nom">Nom:</label>
<input type="text" name="nom" id="nom" required>
<div class="field">
<label for="nom">Nom</label>
<input type="text" id="nom" name="nom" required>
</div>
<label for="prenom">Prenom:</label>
<input type="text" name="prenom" id="prenom" required>
<div class="field">
<label for="prenom">Prénom</label>
<input type="text" id="prenom" name="prenom" required>
</div>
<label for="email">E-mail:</label>
<input type="text" name="email" id="email" required>
<div class="field">
<label for="email">E-mail</label>
<input type="email" id="email" name="email" required>
</div>
<label for="telephone">Numero de Telephone:</label>
<input type="text" name="telephone" id="telephone">
<input type="submit" value="Soumettre">
<div class="field">
<label for="telephone">Téléphone</label>
<input type="text" id="telephone" name="telephone">
</div>
<button class="btn-submit" type="submit">Soumettre</button>
</form>
@endsection