<div class='form-group'> {!! Form::label($settingName . "[$lang]", trans($moduleInfo['description'])) !!} <?php if (isset($dbSettings[$settingName])): ?> <?php $value = $dbSettings[$settingName]->hasTranslation($lang) ? $dbSettings[$settingName]->translate($lang)->value : ''; ?> {!! Form::input('number', $settingName . "[$lang]", old($settingName . "[$lang]", $value), ['class' => 'form-control', 'placeholder' => trans($moduleInfo['description'])]) !!} <?php else: ?> {!! Form::input('number', $settingName . "[$lang]", old($settingName . "[$lang]"), ['class' => 'form-control', 'placeholder' => trans($moduleInfo['description'])]) !!} <?php endif; ?> </div>