{!! Form::open( ['method' => 'POST','files'=>true, 'route' => ['updateEmail']]) !!}
@if(!empty($result))
Edit
@else
Change Email
@endif
{!! Form::label('current_email', trans('fields.current_email'),['class' => 'required']) !!}
@if ($errors->has('current_email'))

{{ $errors->first('current_email') }}

@endif
{!! Form::label('email', trans('fields.email'),['class' => 'required']) !!}
@if ($errors->has('new_email'))

{{ $errors->first('new_email') }}

@endif
{!! Form::label('confirm_email', trans('fields.confirm_email'),['class' => 'required']) !!}
@if ($errors->has('confirm_email'))

{{ $errors->first('confirm_email') }}

@endif
{!! Form::close() !!}
@section('style') @endsection @section('script') @endsection @push('module-js') @endpush