@extends(backpack_view('blank')) @section('after_styles') @endsection @php $breadcrumbs = [ trans('backpack::crud.admin') => url(config('backpack.base.route_prefix'), 'dashboard'), trans('backpack::base.my_account') => false, ]; @endphp @section('header')

{{ trans('backpack::base.my_account') }}

@endsection @section('content')
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->count())
    @foreach ($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif {{-- UPDATE INFO FORM --}}
{!! csrf_field() !!}
{{ trans('backpack::base.update_account_info') }}
@php $label = trans('backpack::base.name'); $field = 'name'; @endphp
@php $label = config('backpack.base.authentication_column_name'); $field = backpack_authentication_column(); @endphp
{{-- CHANGE PASSWORD FORM --}}
{!! csrf_field() !!}
{{ trans('backpack::base.change_password') }}
@php $label = trans('backpack::base.old_password'); $field = 'old_password'; @endphp
@php $label = trans('backpack::base.new_password'); $field = 'new_password'; @endphp
@php $label = trans('backpack::base.confirm_password'); $field = 'confirm_password'; @endphp
@endsection