@extends('admin.template.master') @section('stylesheets') @endsection @section('title') User Profile Home User Profile @endsection @section('main-content') @if(Session::has('message')) × {{Session('message')}} @endif {!! Form::open(['method' => 'PUT', 'url' => '/admin/user-profile/' . $user->id, 'enctype' => 'multipart/form-data']) !!} @if ($errors->has('user_avatar')){!! $errors->first('user_avatar') !!}@endif {!! $user->name !!} {!! $user->email !!} {!! Form::label('Current Password') !!} {!! Form::password('current_password', ['class' => 'form-control', 'placeholder' => 'Enter current password']) !!} @if ($errors->has('current_password')) {!! $errors->first('current_password') !!}@endif {!! Form::label('New Password') !!} {!! Form::password('new_password', ['class' => 'form-control', 'placeholder' => 'Enter new password']) !!} @if ($errors->has('new_password')) {!! $errors->first('new_password') !!}@endif {!! Form::close() !!} @endsection @section('javascripts') @endsection
{!! $user->email !!}