@if ($type !== 'core') @else @endif @foreach ($data['templates'] as $key => $template) @endforeach
{{ trans('core/setting::setting.template') }} {{ trans('core/setting::setting.description') }} {{ trans('core/setting::setting.enable') }} 
{{ trans($template['title']) }} {{ trans($template['description']) }} @if ($type !== 'core' && Arr::get($template, 'can_off', false))
{!! Form::onOff(get_setting_email_status_key($type, $module, $key), get_setting_email_status($type, $module, $key) == 1, ['data-key' => 'email-config-status-btn', 'data-change-url' => route('setting.email.status.change')] ) !!}
@elseif ($type !== 'core')
{!! Form::onOff(get_setting_email_status_key($type, $module, $key), 1, ['disabled' => true, 'readonly' => true] ) !!}
@endif