@include('helpers.form_control', [
'type' => 'text',
'name' => 'name',
'label' => trans('messages.name'),
'value' => $form->name,
'required' => true,
])
@include('helpers.form_control', [
'type' => 'select',
'name' => 'mail_list_uid',
'label' => trans('messages.list'),
'value' => $form->mailList->uid,
'options' => Auth::user()->customer->readCache('MailListSelectOptions', []),
'rules' => [],
])
{{ trans('messages.form.display.immediately.desc') }}
{{ trans('messages.form.display.wait_time.desc') }}
@include('helpers.form_control.number', [
'name' => 'wait_time',
'value' => $form->getMetadata('wait_time') ? $form->getMetadata('wait_time') : '5',
'attributes' => [
'class' => 'numeric',
'min' => '1',
'required' => 'required',
],
])
{{ trans('messages.form.display.element_id.desc') }}
@include('helpers.form_control.text', [
'name' => 'element_id',
'value' => $form->getMetadata('element_id') ? $form->getMetadata('element_id') : '',
'attributes' => [
'required' => 'required',
],
])
{{--
@include('helpers.form_control', [
'type' => 'checkbox2',
'name' => 'use_captcha',
'label' => trans('messages.form.use_captcha'),
'value' => $form->getMetadata('use_captcha'),
'options' => ['no', 'yes'],
])
--}}