@foreach ($list_setting as $key => $pengaturan) @if ($pengaturan->jenis != 'upload' && in_array($pengaturan->kategori, $pengaturan_kategori ?? []))
@if ($pengaturan->jenis == 'option' || $pengaturan->jenis == 'boolean')
@elseif ($pengaturan->jenis == 'multiple-option')
@elseif ($pengaturan->jenis == 'multiple-option-array')
@elseif ($pengaturan->jenis == 'datetime')
attribute ? str_replace('class="', 'class="form-control input-sm pull-right tgl_1 ', $pengaturan->attribute) : 'class="form-control input-sm pull-right tgl_1"' !!} id="{{ $pengaturan->key }}" name="{{ $pengaturan->key }}" type="text" value="{{ $pengaturan->value }}">
@elseif ($pengaturan->jenis == 'textarea')
@elseif ($pengaturan->jenis == 'password')
attribute ? str_replace('class="', 'class="form-control input-sm ', $pengaturan->attribute) : 'class="form-control input-sm"' !!} id="{{ $pengaturan->key }}" name="{{ $pengaturan->key }}" type="password" data-password="{{ $pengaturan->value ? 1 : 0 }}" value="" />
@if ($pengaturan->value)

Kosongkan jika tidak ingin mengubah Password.

@endif
@else
attribute ? str_replace('class="', 'class="form-control input-sm ', $pengaturan->attribute) : 'class="form-control input-sm"' !!} id="{{ $pengaturan->key }}" name="{{ $pengaturan->key }}" type="text" value="{{ $pengaturan->value }}" />
@endif
@endif @endforeach