From e9225ff3ea6952f83ec0cbda2749f0756d6f1de7 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 15 Oct 2024 12:43:10 +0100 Subject: [PATCH] Switch to regular HTML for input form field Signed-off-by: snipe --- resources/views/locations/edit.blade.php | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/resources/views/locations/edit.blade.php b/resources/views/locations/edit.blade.php index 55d638a9f5..4b4e655a52 100755 --- a/resources/views/locations/edit.blade.php +++ b/resources/views/locations/edit.blade.php @@ -25,9 +25,15 @@ -
- {{ Form::text('currency', old('currency', $item->currency), array('class' => 'form-control','placeholder' => 'USD', 'maxlength'=>'3', 'style'=>'width: 60px;', 'aria-label'=>'currency', 'required' => (Helper::checkIfRequired($item, 'currency')) ? true : '')) }} - {!! $errors->first('currency', '') !!} +
+ + @error('currency') + + + {{ $message }} + + @enderror +
@@ -40,8 +46,13 @@ {{ trans('admin/locations/table.ldap_ou') }}
- {{ Form::text('ldap_ou', old('ldap_ou', $item->ldap_ou), array('class' => 'form-control', 'required' => (Helper::checkIfRequired($item, 'ldap_ou')) ? true : '')) }} - {!! $errors->first('ldap_ou', '') !!} + + @error('ldap_ou') + + + {{ $message }} + + @enderror
@endif