|
233 | 233 | </div> |
234 | 234 | <div class="col-md-9"> |
235 | 235 | @if (config('app.lock_passwords')===true) |
236 | | - {{ Form::textarea('custom_css', old('custom_css', $setting->custom_css), array('class' => 'form-control','placeholder' => 'Add your custom CSS','disabled'=>'disabled', 'aria-label'=>'custom_css')) }} |
| 236 | + <x-input.textarea |
| 237 | + name="custom_css" |
| 238 | + :value="old('custom_css', $setting->custom_css)" |
| 239 | + placeholder="Add your custom CSS" |
| 240 | + aria-label="custom_css" |
| 241 | + disabled |
| 242 | + /> |
237 | 243 | {!! $errors->first('custom_css', '<span class="alert-msg" aria-hidden="true">:message</span>') !!} |
238 | 244 | <p class="text-warning"><i class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p> |
239 | 245 | @else |
240 | | - {{ Form::textarea('custom_css', old('custom_css', $setting->custom_css), array('class' => 'form-control','placeholder' => 'Add your custom CSS', 'aria-label'=>'custom_css')) }} |
| 246 | + <x-input.textarea |
| 247 | + name="custom_css" |
| 248 | + :value="old('custom_css', $setting->custom_css)" |
| 249 | + placeholder="Add your custom CSS" |
| 250 | + aria-label="custom_css" |
| 251 | + /> |
241 | 252 | {!! $errors->first('custom_css', '<span class="alert-msg" aria-hidden="true">:message</span>') !!} |
242 | 253 | @endif |
243 | 254 | <p class="help-block">{!! trans('admin/settings/general.custom_css_help') !!}</p> |
|
289 | 300 | </div> |
290 | 301 | <div class="col-md-9"> |
291 | 302 | @if (config('app.lock_passwords')===true) |
292 | | - {{ Form::textarea('footer_text', old('footer_text', $setting->footer_text), array('class' => 'form-control', 'rows' => '4', 'placeholder' => 'Optional footer text','disabled'=>'disabled')) }} |
| 303 | + <x-input.textarea |
| 304 | + name="footer_text" |
| 305 | + :value="old('footer_text', $setting->footer_text)" |
| 306 | + rows="4" |
| 307 | + placeholder="Optional footer text" |
| 308 | + disabled |
| 309 | + /> |
293 | 310 | <p class="text-warning"><i class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p> |
294 | 311 | @else |
295 | | - {{ Form::textarea('footer_text', old('footer_text', $setting->footer_text), array('class' => 'form-control','rows' => '4','placeholder' => 'Optional footer text')) }} |
| 312 | + <x-input.textarea |
| 313 | + name="footer_text" |
| 314 | + :value="old('footer_text', $setting->footer_text)" |
| 315 | + rows="4" |
| 316 | + placeholder="Optional footer text" |
| 317 | + /> |
296 | 318 | @endif |
297 | 319 | <p class="help-block">{!! trans('admin/settings/general.footer_text_help') !!}</p> |
298 | 320 | {!! $errors->first('footer_text', '<span class="alert-msg" aria-hidden="true">:message</span>') !!} |
|
0 commit comments