Add phone or username placeholder in login view and update Turkish translations

- Updated the login view to include a placeholder for phone or username input.
- Added a new Turkish translation for the phone or username placeholder to enhance user guidance.
This commit is contained in:
Mekan1206
2025-12-21 06:20:41 +05:00
parent f433fc3e41
commit 326987d6de
2 changed files with 3 additions and 1 deletions

View File

@@ -30,4 +30,5 @@ return [
'go_back' => 'Yza', 'go_back' => 'Yza',
'successfully_changed_phone' => 'Telefon belgiňiz üýtgedildi', 'successfully_changed_phone' => 'Telefon belgiňiz üýtgedildi',
'resend' => 'Täze tassyklaýyş belgi ugratmak', 'resend' => 'Täze tassyklaýyş belgi ugratmak',
'phone_or_username_placeholder' => 'meselem: 65999990 yada ulanyjy_ady',
]; ];

View File

@@ -49,11 +49,12 @@ async function login(event) {
id="username" id="username"
type="text" type="text"
name="username" name="username"
placeholder="+99365999990 {{ __('or') }} {{ __('module.base-auth::base.username') }}" placeholder="65999990 {{ __('or') }} {{ __('module.base-auth::base.username') }}"
autofocus="" autofocus=""
value="{{ old('username') }}" value="{{ old('username') }}"
> >
<span class="text-gray-500 text-xs">{{ __('module.base-auth::base.phone_or_username_placeholder') }}</span>
<span id="username-error-box" class="text-red-500 text-italic error-box"></span> <span id="username-error-box" class="text-red-500 text-italic error-box"></span>
</div> </div>