@extends('layouts.base') @section('content')

Ajouter un compte utilisateur

@csrf {{-- Code --}} @include('components.input-row', ['label' => 'Code *', 'name' => 'Code', 'value' => $code_user, 'readonly' => true]) {{-- Nom --}} @include('components.input-row', ['label' => 'Nom *', 'name' => 'Nom', 'value' => old('Nom')]) {{-- Prénom --}} @include('components.input-row', ['label' => 'Prénom *', 'name' => 'Prenom', 'value' => old('Prenom')]) {{-- Sexe --}}
{{-- Fonction --}} @include('components.input-row', ['label' => 'Fonction', 'name' => 'Fonction', 'value' => old('Fonction')]) {{-- Téléphone --}} @include('components.input-row', ['label' => 'Téléphone *', 'name' => 'Telephone', 'value' => old('Telephone')]) {{-- Email --}} @include('components.input-row', ['label' => 'Adresse Email *', 'name' => 'email', 'type' => 'email', 'value' => old('Email')]) {{-- Photo --}} @include('components.input-row', ['label' => 'Photo *', 'name' => 'Photo', 'type' => 'file', 'accept' => '.jpg,.jpeg,.png']) {{-- Profile --}}
{{-- Mot de passe --}} @include('components.input-row', [ 'label' => 'Mot de passe *', 'name' => 'password', 'type' => 'password', 'attributes' => 'oncopy="return false;" onpaste="return false;" oncut="return false;"' ]) {{-- Confirmation mot de passe --}} @include('components.input-row', [ 'label' => 'Confirmation *', 'name' => 'password_confirmation', 'type' => 'password', 'attributes' => 'oncopy="return false;" onpaste="return false;" oncut="return false;" autocomplete="off"', 'placeholder' => 'confirmer votre mot de passe' ]) {{-- Boutons --}}
Annuler
@endsection @push('scripts') @endpush