@extends('layouts.app') @section('content')
ACTIVEZ VOTRE COMPTE
Pour activer votre compte, veuillez tout d'abord saisir vos informations. Cliquez ensuite sur le bouton "Activer mon compte". Après validation vous recevrez alors un email contenant un lien qui vous permettra d'activer votre compte et de saisir un mot de passe.
@if (session('status')) @endif {!! Form::model($demande, ['method' => 'POST', "url" => route('etudiants-diplomes.post'), 'class' => 'w-full max-w-xl mx-auto','id'=>'form1']) !!}
{!! Form::text('prenom', null, ['placeholder' => 'Prénom', 'id' => 'prenom', 'class' => 'appearance-none block w-full text-grey-darker border '.($errors->has("prenom") ? "border-red" : "border-grey").' py-3 px-4 mb-3 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('prenom'))

{{ $errors->first('prenom') }}

@endif
{!! Form::text('nom', null, ['placeholder' => 'Nom', 'id' => 'nom', 'class' => 'appearance-none block w-full text-grey-darker border '.($errors->has("nom") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('nom'))

{{ $errors->first('nom') }}

@endif
{!! Form::text('email', null, ['placeholder' => 'Email', 'id' => 'email', 'class' => 'appearance-none block w-full text-grey-darker border '.($errors->has("email") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('email'))

{{ $errors->first('email') }}

@endif
{!! Form::text('diplome', null, ['placeholder' => 'Diplôme obtenu', 'id' => 'diplome', 'class' => 'text-sm appearance-none block w-full text-grey-darker border '.($errors->has("diplome") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('diplome'))

{{ $errors->first('diplome') }}

@endif
{!! Form::select('specialite', $specialiteTab, null, ['placeholder' => 'Choisir votre specialité ','class' => 'block appearance-none w-full border bg-white '.($errors->has("specialite") ? "border-red" : "border-grey").' rounded-none text-grey-darker py-3 px-4 pr-8 leading-tight focus:outline-none focus:border-blue', 'id' => 'specialite'] ) !!} @if ($errors->has('specialite'))

{{ $errors->first('specialite') }}

@endif
{!! Form::text('promotion', null, ['placeholder' => 'Année de diplôme', 'id' => 'promotion', 'class' => 'text appearance-none block w-full text-grey-darker border '.($errors->has("promotion") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('promotion'))

{{ $errors->first('promotion') }}

@endif
{!! Form::text('entreprise', null, ['placeholder' => 'Entreprise', 'id' => 'entreprise', 'class' => 'text appearance-none block w-full text-grey-darker border '.($errors->has("entreprise") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('entreprise'))

{{ $errors->first('entreprise') }}

@endif
{!! Form::select('situationprofessionnelle', $situationprofessionnelle, null, ['placeholder' => 'Choisir votre situation professionnelle ','class' => 'block appearance-none w-full border bg-white '.($errors->has("situationprofessionnelle") ? "border-red" : "border-grey").' rounded-none text-grey-darker py-3 px-4 pr-8 leading-tight focus:outline-none focus:border-blue', 'id' => 'situationprofessionnelle'] ) !!}
@if ($errors->has('situationprofessionnelle'))

{{ $errors->first('situationprofessionnelle') }}

@endif
{!! Form::select('nationnalite', $pays, null, ['placeholder'=>'Choisir votre nationalité','class' => 'block appearance-none w-full border bg-white '.($errors->has("nationnalite") ? "border-red" : "border-grey").' rounded-none text-grey-darker py-3 px-4 pr-8 leading-tight focus:outline-none focus:border-blue', 'id' => 'nationnalite']) !!} @if ($errors->has('nationnalite'))

{{ $errors->first('nationnalite') }}

@endif
{!! Form::date('date_naissance', null, ['placeholder' => 'aaaa-mm-jj', 'id' => 'date_naissance', 'class' => 'text-sm appearance-none block w-full text-grey-darker border '.($errors->has("date_naissance") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('date_naissance'))

{{ $errors->first('date_naissance') }}

@endif
{!! Form::text('identifiant', null, ['placeholder' => 'Code Étudiant', 'id' => 'identifiant', 'class' => 'text appearance-none block w-full text-grey-darker border '.($errors->has("identifiant") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!}
{!! Form::select('sexe', $sexeTab, null, ['placeholder' => 'Choisir le sexe ','class' => 'block appearance-none w-full border bg-white '.($errors->has("sexe") ? "border-red" : "border-grey").' rounded-none text-grey-darker py-3 px-4 pr-8 leading-tight focus:outline-none focus:border-blue', 'id' => 'sexe'] ) !!} @if ($errors->has('sexe'))

{{ $errors->first('sexe') }}

@endif
{!! Form::select('pays_id', $pays, null, ['placeholder'=>'Choisir votre pays résidence','class' => 'block appearance-none w-full border bg-white '.($errors->has("pays_id") ? "border-red" : "border-grey").' rounded-none text-grey-darker py-3 px-4 pr-8 leading-tight focus:outline-none focus:border-blue', 'id' => 'pays_id']) !!}
@if ($errors->has('pays_id'))

{{ $errors->first('pays_id') }}

@endif
{!! Form::text('ville', null, ['placeholder' => 'Ville', 'id' => 'ville', 'class' => 'text appearance-none block w-full text-grey-darker border '.($errors->has("ville") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('ville'))

{{ $errors->first('ville') }}

@endif
{!! Form::text('adresse', null, ['placeholder' => 'Adresse', 'id' => 'adresse', 'class' => 'text appearance-none block w-full text-grey-darker border '.($errors->has("adresse") ? "border-red" : "border-grey").' py-3 px-4 leading-tight focus:outline-none focus:border-blue']) !!} @if ($errors->has('adresse'))

{{ $errors->first('adresse') }}

@endif
{!! Form::close() !!}
@endsection