@extends('web.layouts.main') @section('content') @include('web.components.page-header', ['heading' => $section->title])
@include('web.components.alert', ['with' => 'warning', 'class' => 'warning'])
{!! $section->text !!}
@csrf

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

@include('web.components.inputs.input', ['label' => trans('text.email').'*', 'type' => 'email', 'placeholder' => trans('text.please-specify'), 'name' => 'email'])
@include('web.components.inputs.input', ['label' => trans('text.create-password').'*', 'type' => 'password', 'placeholder' => trans('text.please-specify'), 'name' => 'password'])
@include('web.components.inputs.input', ['label' => trans('text.confirm-password').'*', 'type' => 'password', 'placeholder' => trans('text.please-specify'), 'name' => 'confirm_password'])
@include('web.components.inputs.select-single', ['label' => trans('text.secret-question').'*', 'placeholder' => trans('text.please-specify'), 'name' => 'secret_question', 'attribute' => 'title', 'rows' => $secret_questions])
@include('web.components.inputs.input', ['label' => trans('text.secret-answer').'*', 'placeholder' => trans('text.please-specify'), 'name' => 'secret_answer'])

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

@include('web.components.inputs.input', ['label' => trans('text.first-name').'*', 'placeholder' => trans('text.please-specify'), 'name' => 'first_name'])
@include('web.components.inputs.input', ['label' => trans('text.last-name').'*', 'placeholder' => trans('text.please-specify'), 'name' => 'last_name'])
@include('web.components.inputs.input', ['label' => trans('text.father-name').'*', 'placeholder' => trans('text.please-specify'), 'name' => 'father_name'])
@include('web.components.inputs.input', ['label' => trans('text.id-number').'*', 'placeholder' => trans('text.please-specify'), 'name' => 'id_number'])
@include('web.components.inputs.select-single', ['label' => trans('text.marital-status'), 'placeholder' => trans('text.please-specify'), 'name' => 'marital_status', 'attribute' => 'title', 'rows' => $marital_statuses])
@include('web.components.inputs.input', ['label' => trans('text.date-of-birth').'*', 'type' => 'date', 'placeholder' => trans('text.please-specify'), 'name' => 'date_of_birth', 'max' => date('Y-m-d')])
@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])
@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])
@include('web.components.inputs.input', ['label' => trans('text.street'), 'placeholder' => trans('text.please-specify'), 'name' => 'street'])
@include('web.components.inputs.input', ['label' => trans('text.building'), 'placeholder' => trans('text.please-specify'), 'name' => 'building'])
@include('web.components.inputs.input', ['label' => trans('text.mobile-number').'*', 'type' => 'number', 'placeholder' => '964XXXXXXXXXXX', 'name' => 'mobile_number'])
@include('web.components.inputs.input', ['label' => trans('text.phone-number'), 'type' => 'number', 'placeholder' => trans('text.please-specify'), 'name' => 'phone_number'])
@endsection