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:
@@ -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',
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user