{!! html()->form('POST', route('envSetting'))->attribute('data-toggle', 'validator')->open() !!} {!! html()->hidden('id', null)->class('form-control') !!} {!! html()->hidden('page', $page)->class('form-control') !!} {!! html()->hidden('type', 'mail')->class('form-control') !!}
@foreach (config('constant.MAIL_SETTING') as $key => $value)
@if ($key != 'EMAIL_OTP_VERIFICATION')
@if (!env('APP_DEMO') && auth()->user()->hasRole('admin')) @else @endif
@endif
@if ($key == 'EMAIL_OTP_VERIFICATION')
@endif @endforeach
{!! html()->submit(__('message.save'))->class('btn btn-md btn-primary float-md-right') !!} {!! html()->form()->close() !!}