From 305dc049a498c913caacdd6f2c21f4320b9c9e52 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 22 Aug 2024 11:01:28 +0100 Subject: [PATCH] Added asterisk help text Signed-off-by: snipe --- resources/lang/en-US/general.php | 1 + resources/views/partials/forms/edit/address.blade.php | 1 + resources/views/users/edit.blade.php | 2 ++ resources/views/users/view.blade.php | 4 +++- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php index a60f0dedfd..4ebf1b8977 100644 --- a/resources/lang/en-US/general.php +++ b/resources/lang/en-US/general.php @@ -561,5 +561,6 @@ return [ 'remaining_var' => ':count Remaining', 'label' => 'Label', 'import_asset_tag_exists' => 'An asset with the asset tag :asset_tag already exists and an update was not requested. No change was made.', + 'countries_manually_entered_help' => 'Values with an asterisk (*) were manually entered and do not match existing ISO 3166 dropdown values', ]; diff --git a/resources/views/partials/forms/edit/address.blade.php b/resources/views/partials/forms/edit/address.blade.php index c68ecaa8c2..893bd01339 100644 --- a/resources/views/partials/forms/edit/address.blade.php +++ b/resources/views/partials/forms/edit/address.blade.php @@ -35,6 +35,7 @@ {{ Form::label('country', trans('general.country'), array('class' => 'col-md-3 control-label')) }}
{!! Form::countries('country', old('country', $item->country), 'select2') !!} +

{{ trans('general.countries_manually_entered_help') }}

{!! $errors->first('country', '') !!}
diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index 5f0246d022..1c23b76823 100755 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -451,6 +451,8 @@
{!! Form::countries('country', old('country', $user->country), 'col-md-12 select2') !!} + +

{{ trans('general.countries_manually_entered_help') }}

{!! $errors->first('country', '') !!}
diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index 8fbed865ee..e2397ebe86 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -197,7 +197,9 @@ {{ trans('admin/users/general.print_assigned') }} @else - + @endif @endcan