@extends('ahp.mod_profile.layout')
@section('dataForm_method', 'POST')
@section('dataForm_action', route('profile.update', ['id' => $user->id]))
@section('dataForm_laravelCsrf', csrf_field())
@section('dataForm_laravelMethod', method_field('PUT'))
@section('image_url', $user->imageUrl == '' ? '' : asset($user->imageUrl))
@section('image_class', '')
@section('image_showMenu', 'true')
@section('name_class', $errors->has('name') ? 'mods-errorField' : '')
@section('name_value', old('name', $user->name))
@section('name_disabled', '')
@section('email_class', $errors->has('email') || $errors->has('email_encode') ? 'mods-errorField' : '')
@section('email_value', old('email', $user->email))
@section('email_disabled', '')
@section('username_class', $errors->has('username') || $errors->has('username_encode') ? 'mods-errorField' : '')
@section('username_value', old('username', $user->username))
@section('username_disabled', '')
@section('password_class', $errors->has('password_ok') ? 'mods-errorField' : '')
@section('password_value', old('password', ''))
@section('password_disabled', '')
@section('password_required', '')
@section('password_new_class', $errors->has('password_new') ? 'mods-errorField' : '')
@section('password_new_value', old('password_new', ''))
@section('password_new_disabled', '')
@section('password_new_required', '')
@section('password_new_confirmation_class', $errors->has('password_new') ? 'mods-errorField' : '')
@section('password_new_confirmation_value', old('password_new_confirmation', ''))
@section('password_new_confirmation_disabled', '')
@section('password_new_confirmation_required', '')
@section('dataButtonSave_disabled', '')
@section('dataButtonSave_formType', 'submit')
@section('dataButtonSave_formId', 'dataForm')