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