@foreach(config('constant.SMS_SETTING') as $key => $value)
{!! html()->modelForm($sms_setting, 'POST', route('smsSettingsUpdate'))->attribute('enctype', 'multipart/form-data')->attribute('data-toggle', 'validator')->open() !!} {!! html()->hidden('id')->class('form-control') !!} {!! html()->hidden('type', $key)->class('form-control') !!}
{!! html()->label(__('message.status'))->class('d-block') !!}
{!! html()->radio('status', old('status',$sms_setting) == '1' , '1')->class('custom-control-input')->id('status_active' . $key) !!} {!! html()->label(__('message.active'))->for('status_active' . $key)->class('custom-control-label') !!}
{!! html()->radio('status', old('status',$sms_setting) == '0','0')->class('custom-control-input')->id('status_inactive' . $key) !!} {!! html()->label(__('message.inactive'))->for('status_inactive' . $key)->class('custom-control-label') !!}
@foreach ($value as $v)
{!! html()->label(__('message.' . $v))->for('values[' . $v . ']')->class('form-control-label') !!} {!! html()->text('values[' . $v . ']')->placeholder(__('message.' . $v))->class('form-control') !!}
@endforeach

{!! html()->button(__('message.save'))->class('btn btn-md btn-primary') !!}
{!! html()->form()->close() !!}
@endforeach