@extends('admin.layout.master') {{-- extra css files --}} @section('css') @endsection {{-- extra css files --}} @section('content') {{ __('admin.edit') }} @csrf @method('PUT') {{ __('admin.first_name') }} {{ __('admin.last_name') }} {{ __('admin.phone_number') }} {{ __('admin.country_code') }} @foreach ($country_codes as $country_code) country_code == $country_code ? 'selected' : '' }}> {{ $country_code }} @endforeach {{ __('admin.email') }} {{ __('admin.gender') }} {{ __('admin.select_the_gender') }} @foreach (App\Enums\GenderEnum::Values() as $gender) gender == $gender ? 'selected' : '' }}> {{ __('admin.' . $gender) }} @endforeach {{ __('admin.country') }} {{ __('admin.select_country') }} @foreach ($countries as $country) country_id == $country->id ? 'selected' : '' }}> {{ $country->name }} @endforeach {{ __('admin.city') }} @foreach ($cities as $city) city_id == $city->id ? 'selected' : '' }}> {{ $city->name }} @endforeach {{ __('admin.birth_date') }} {{ __('admin.status') }} {{ __('admin.Select_the_blocking_status') }} is_blocked == 1 ? 'selected' : '' }}> {{ __('admin.Prohibited') }} is_blocked == 0 ? 'selected' : '' }}> {{ __('admin.Unspoken') }} {{ __('admin.update') }} {{ __('admin.back') }} @endsection @section('js') {{-- show selected image script --}} @include('admin.shared.addImage') {{-- show selected image script --}} {{-- submit edit form script --}} @include('admin.shared.submitEditForm') {{-- submit edit form script --}} @endsection