@extends('web.layouts.main') @push('stylesheets') @endpush @section('content') @include('web.components.page-header', ['heading' => trans('text.my-account')])
@include('web.layouts.header.my-account-nav')
@csrf

{{ trans('text.account-info') }}

@include('web.components.inputs.input', ['label' => trans('text.email'), 'type' => 'email', 'placeholder' => trans('text.please-specify'), 'name' => 'email', 'value' => $user->email, 'readonly' => true])
@include('web.components.inputs.select-single', ['label' => trans('text.secret-question'), 'placeholder' => trans('text.please-specify'), 'name' => 'secret_question', 'attribute' => 'title', 'rows' => $secret_questions, 'value' => $user->secret_question_id, 'readonly' => true])
@include('web.components.inputs.input', ['label' => trans('text.secret-answer'), 'placeholder' => trans('text.please-specify'), 'name' => 'secret_answer', 'value' => $user->secret_answer, 'readonly' => true])

{{ trans('text.personal-info') }}

@include('web.components.inputs.input', ['label' => trans('text.first-name'), 'placeholder' => trans('text.please-specify'), 'name' => 'first_name', 'value' => $user->first_name, 'readonly' => true])
@include('web.components.inputs.input', ['label' => trans('text.last-name'), 'placeholder' => trans('text.please-specify'), 'name' => 'last_name', 'value' => $user->last_name, 'readonly' => true])
@include('web.components.inputs.input', ['label' => trans('text.father-name'), 'placeholder' => trans('text.please-specify'), 'name' => 'father_name', 'value' => $user->father_name, 'readonly' => true])
@include('web.components.inputs.input', ['label' => trans('text.id-number'), 'placeholder' => trans('text.please-specify'), 'name' => 'id_number', 'value' => $user->id_number, 'readonly' => true])
@include('web.components.inputs.select-single', ['label' => trans('text.marital-status'), 'placeholder' => trans('text.please-specify'), 'name' => 'marital_status', 'attribute' => 'title', 'rows' => $marital_statuses, 'value' => $user->marital_status_id])
@include('web.components.inputs.input', ['label' => trans('text.date-of-birth'), 'type' => 'date', 'placeholder' => trans('text.please-specify'), 'name' => 'date_of_birth', 'readonly' => true])
@include('web.components.inputs.select-single', ['label' => trans('text.country-of-birth'), 'placeholder' => trans('text.please-specify'), 'name' => 'country_of_birth', 'attribute' => 'name', 'rows' => $countries, 'value' => $user->country_of_birth_id])
@include('web.components.inputs.select-single', ['label' => trans('text.city-of-residence').'*', 'placeholder' => trans('text.please-specify'), 'name' => 'city_of_residence', 'attribute' => 'title', 'rows' => $regions, 'value' => $user->city_of_residence_id])
@include('web.components.inputs.input', ['label' => trans('text.street'), 'placeholder' => trans('text.please-specify'), 'name' => 'street', 'value' => $user->street])
@include('web.components.inputs.input', ['label' => trans('text.building'), 'placeholder' => trans('text.please-specify'), 'name' => 'building', 'value' => $user->building])
@include('web.components.inputs.input', ['label' => trans('text.mobile-number'), 'type' => 'number', 'placeholder' => trans('text.please-specify'), 'name' => 'mobile_number', 'value' => $user->mobile_number])
@include('web.components.inputs.input', ['label' => trans('text.phone-number'), 'type' => 'number', 'placeholder' => trans('text.please-specify'), 'name' => 'phone_number', 'value' => $user->phone_number])
@csrf

Change Password

@include('web.components.inputs.input', ['label' => 'Current Password', 'type' => 'password', 'placeholder' => trans('text.please-specify'), 'name' => 'current_password'])
@include('web.components.inputs.input', ['label' => 'New Password', 'type' => 'password', 'placeholder' => trans('text.please-specify'), 'name' => 'new_password'])
@include('web.components.inputs.input', ['label' => 'Confirm Password', 'type' => 'password', 'placeholder' => trans('text.please-specify'), 'name' => 'confirm_password'])
@csrf

{{ trans('text.delete-account') }}

@include('web.components.inputs.input', ['label' => trans('text.password'), 'type' => 'password', 'placeholder' => trans('text.please-specify'), 'name' => 'password'])
@include('web.components.shortcuts')
@include('web.components.are-you-a-winner')
@endsection @push('scripts') @endpush