@if(isset($message)&&$message=='wrong current password') @elseif(isset($message)&&$message=='password has been changed') @elseif(isset($message)&&$message=='not match') @endif @extends('layouts.mypage') @section('page-header')

My Account

@endsection @section('content')
{{ csrf_field() }}

{{ $auth->email }}

@if($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
@if($errors->has('lastname')) {{ $errors->first('lastname') }} @endif
@if($errors->has('sex')) {{ $errors->first('sex') }} @else @endif @if($errors->has('sex')) {{ $errors->first('sex') }} @endif
@if($auth->grade_id == 4)
@if($errors->has('phone')) {{ $errors->first('phone') }} @endif
@endif
{{ csrf_field() }}
@if($errors->has('now_password')) {{ $errors->first('now_password') }} @endif
@if($errors->has('new_password')) {{ $errors->first('new_password') }} @endif
@if($errors->has('new_password_confirmation')) {{ $errors->first('new_password_confirmation') }} @endif
@endsection