@php
$toValues = json_decode($data->to, true) ?? [];
@endphp
{{ html()->label(__('messages.user_type') . ' *', 'user_type')
->class('form-control-label')
}}
{{ html()->select('defaultMailTemplateMap[user_type]', array_combine($toValues, $toValues), $defaultMailTemplateMap['user_type'] ?? null)
->class('form-select select2js')
->required()
}}
{{ html()->text('defaultMailTemplateMap[subject]', null)->class('form-control') }}
{{ html()->hidden('defaultMailTemplateMap[status]', 1)->class('form-control') }}
{{ html()->hidden('defaultMailTemplateMap[language]', 'en') }}
{{ html()->textarea('defaultMailTemplateMap[template_detail]', null)
->class('form-control textarea tinymce-template')
->id('mytextarea')
}}
{{ html()->text('defaultMailTemplateMap[notification_message]', null)
->class('form-control notification_message')
->id('en-notification_message')
}}
{{ html()->text('defaultMailTemplateMap[notification_link]', null)
->class('form-control notification_link')
->id('en-notification_link')
}}