@extends('shop::customers.account.index') @section('page_title') {{ __('shop::app.customer.account.profile.edit-profile.page-title') }} @endsection @section('account-content')
{!! view_render_event('bagisto.shop.customers.account.profile.edit.before', ['customer' => $customer]) !!}
@csrf {!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.before', ['customer' => $customer]) !!}
@{{ errors.first('first_name') }}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.first_name.after') !!}
@{{ errors.first('last_name') }}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.last_name.after') !!}
@{{ errors.first('gender') }}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.gender.after') !!}
@{{ errors.first('date_of_birth') }}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.date_of_birth.after') !!}
@{{ errors.first('email') }}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.email.after') !!}
@{{ errors.first('phone') }}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.phone.after') !!}
@{{ errors.first('oldpassword') }}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.oldpassword.after') !!}
@{{ errors.first('password') }}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.password.after') !!}
@{{ errors.first('password_confirmation') }}
@if (core()->getConfigData('customer.settings.newsletter.subscription'))
subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif> {{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}
@endif {!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.after', ['customer' => $customer]) !!}
{!! view_render_event('bagisto.shop.customers.account.profile.edit.after', ['customer' => $customer]) !!}
@endsection