@extends('layouts.app') @section('title', 'Mon compte') @section('main_title_wrapper')

Mon compte

@endsection @section('home')
@if (session('success')) @endif @if (session('warning')) @endif {!! Form::model($user, ['method' => 'POST', "url" => route('admin-cnp.user.profil.update')]) !!}
{!! Form::text('name', null, ["class" => "form-control", "required"]) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::text('email', null, ["class" => "form-control", "disabled"]) !!} @if ($errors->has('email')) {{ $errors->first('name') }} @endif
@if ($errors->has('current-password')) {{ $errors->first('current-password') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('password-confirm')) {{ $errors->first('password-confirm') }} @endif

{!! Form::close() !!}
@endsection @section('css') @endsection