@extends('layout.app') @section('title','Dashboard') @section('profile','active') @section('content')
{{@csrf_field()}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{__('messages.user_page.image')}}
@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@if(isset($profile->image) && Storage::disk('public')->exists($profile->image))
@endif

{{__('messages.profile.change password')}}

{{@csrf_field()}}
@if ($errors->has('newpassword')) {{ $errors->first('newpassword') }} @endif
@if ($errors->has('confirmpassword')) {{ $errors->first('confirmpassword') }} @endif
@endsection @section('js') @endsection