{{ html()->hidden('id',$data->id ?? null) }} {{ html()->hidden('type', $data->type ?? null) }} {{ html()->hidden('defaultNotificationTemplateMap[template_id]', $data->id ?? null) }}

@if(isset($buttonTypes)) @include('mailtemplates.perameters-buttons',['buttonTypes' => $buttonTypes]) @endif
{{ html()->checkbox('status', $data->status, null) ->class('custom-control-input') ->id('status') }}



@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') }}