@extends('layouts.theme') @section('title', 'Account Setting') @section('main-wrapper')

{{__('Account and Settings')}}

{{__('Change E-mail')}}

{{__('Current E-mail')}}: {{auth()->user()->email}}
{!! Form::open(['method' => 'POST', 'action' => 'UserAccountController@update_profile']) !!}
{!! Form::label('new_email',__('new email')) !!} {!! Form::text('new_email', null, ['class' => 'form-control']) !!} {{ $errors->first('new_email') }}
{!! Form::label('current_password', __('Current Password')) !!} {!! Form::password('current_password', ['class' => 'form-control']) !!} {{ $errors->first('current_password') }}
{!! Form::submit(__('update'), ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}

{{__('Change Password')}}

{{__('Want to change your Password')}}
{!! Form::open(['method' => 'POST', 'action' => 'UserAccountController@update_profile']) !!}
{!! Form::label('current_password', __('Current Password')) !!} {!! Form::password('current_password', ['class' => 'form-control']) !!} {{ $errors->first('current_password') }}
{!! Form::label('new_password', __('New Password')) !!} {!! Form::password('new_password', ['class' => 'form-control']) !!} {{ $errors->first('new_password') }}
{!! Form::submit(__('Update'), ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}

{{__('Update Age and Mobile Number')}}

{{__('Want to Change your Age and Mobile Number')}}
{!! Form::open(['method' => 'POST', 'action' => 'UserAccountController@update_mobile']) !!}
{!! Form::label('dob',__('date of birth')) !!} dob)) value="{{Auth::user()->dob}}" @endif/> {{ $errors->first('dob') }}
{!! Form::label('mobile', __('Mobile Number')) !!} mobile)) value="{{Auth::user()->mobile}}"@endif/> {{ $errors->first('mobile') }}
{!! Form::submit(__('Update'), ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}
@endsection