@extends('admin.layout')
@section('title','Nouveau utilisateur')
@section('content')

                        <!-- [ Main Content ] start -->
                        <div class="card">
                            <div class="card-header">
                                <h5>Nouveau utilisateur admin</h5>
                            </div>
                            <div class="card-body">
                        <div class="col-md-6">
                            <form action="{{asset('store_user')}}" method="POST">
                                @csrf
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Nom</label>
                                    <input type="text" class="form-control" name="nom" placeholder="Nom" required>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Prenom</label>
                                    <input type="text" class="form-control" name="prenom" placeholder="Prénom" required>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Contact</label>
                                    <input type="text" class="form-control" name="phone" placeholder="Contact" required>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Adresse</label>
                                    <input type="text" class="form-control" name="adresse" placeholder="Adresse" required>
                                </div>

                                <div class="form-group">
                                    <label for="exampleInputEmail1">Email</label>
                                    <input type="email" class="form-control" id="exampleInputEmail1" name="email"  required="emailHelp" placeholder="Votre email">
                                    <small id="emailHelp" class="form-text text-muted">Veuillez renseigner un mail valide .</small>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword1">Mot de passe</label>
                                    <input type="password" class="form-control" name="password" id="exampleInputPassword1" required placeholder="Mot de passe">
                                </div>
                                <button type="submit" class="btn btn-primary">Ajouter</button>
                            </form>
                        </div>
                        <!-- [ Main Content ] end -->
                    </div>
                </div>

@endsection
