@extends('layouts.guest') @section('title', 'My Profile')

@lang('pages.profile')

@include('layouts.template.profileDashboard')
  • {{$user->name}}
  • {{$user->phone_number}}
  • {{$user->email}}
{{ Form::model($user, array('route'=>array('profileUpdte', $user->id),'method' => 'POST','files'=>true)) }} @csrf
{{ Form::text('name', $user->name, array('id'=>'name','class' => "form-control ".APFrmErrHelp::hasError($errors, 'name')." ",'placeholder' => 'Full name')) }} {!! APFrmErrHelp::showErrors($errors, 'name') !!}
{{ Form::text('phone_number', $user->phone_number, array('id'=>'phone_number','class' => "form-control ".APFrmErrHelp::hasError($errors, 'phone_number')." ",'placeholder' => 'Mobile')) }} {!! APFrmErrHelp::showErrors($errors, 'phone_number') !!}
{{ Form::text('email', $user->email, array('id'=>'email','class' => "form-control ".APFrmErrHelp::hasError($errors, 'email')." ",'placeholder' => 'Email')) }} {!! APFrmErrHelp::showErrors($errors, 'email') !!}
{{ Form::close() }}