@extends('layouts.admin') @section('title', 'Profil') @section('content')

{{ 'Profil' }}

@if (session('success')) @endif
@if (session('warning')) @endif
{!! Form::model($user, ['method' => 'POST', "url" => route('admin-cnp.user.profil.update')]) !!}

Profil

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::text('name', null, ["class" => "form-control floating"]) !!}
{!! Form::email('email', null, ["class" => "form-control floating", "disabled"]) !!} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('current-password')) {{ $errors->first('current-password') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
{!! Form::close() !!}
@endsection