@extends('ahphc.mod_preferences.layout')
@section('dataForm_method', 'POST')
@section('dataForm_action', route('preferences.update', ['user_id' => session('userId')]))
@section('dataForm_laravelCsrf', csrf_field())
@section('dataForm_laravelMethod', method_field('PUT'))
{{-- APP --}}
@section('ahphc_signature_image_data-url', $userPreferences->ahphc_signature_imageUrl == '' ? '' : asset($userPreferences->ahphc_signature_imageUrl))
@section('ahphc_signature_image_class', '')
@section('ahphc_signature_image_showMenu', 'true')
@section('ahphc_signature_name_class', $errors->has('ahphc_signature_name') ? 'mods-errorField' : '')
@section('ahphc_signature_name_value', old('ahphc_signature_name', $userPreferences->ahphc_signature_name))
@section('ahphc_signature_name_disabled', '')
@section('ahphc_signature_description_class', $errors->has('ahphc_signature_description') ? 'mods-errorField' : '')
@section('ahphc_signature_description_value', old('ahphc_signature_description', $userPreferences->ahphc_signature_description))
@section('ahphc_signature_description_disabled', '')
{{-- GENERAL --}}
@section('ahp_theme_class', $errors->has('ahp_theme') ? 'mods-errorField' : '')
@section('ahp_theme_value', old('ahp_theme', $userPreferences->ahp_theme))
@section('ahp_theme_disabled', '')
@section('dataButtonSave_disabled', '')
@section('dataButtonSave_formType', 'submit')
@section('dataButtonSave_formId', 'dataForm')