register: Update label for name input in account creation form.

This commit updates label for name input in account creation
form to "Name".

Fixes part of #29226.
This commit is contained in:
Sahil Batra 2024-03-08 09:30:31 +05:30 committed by Tim Abbott
parent 9846c4c476
commit 1cee271051
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
<input id="id_full_name" class="required" type="text" name="full_name"
value="{% if full_name %}{{ full_name }}{% elif form.full_name.value() %}{{ form.full_name.value() }}{% endif %}"
maxlength="{{ MAX_NAME_LENGTH }}" placeholder="{% trans %}Full name or 名前{% endtrans %}" required />
<label for="id_full_name" class="inline-block label-title">{{ _('Full name') }}</label>
<label for="id_full_name" class="inline-block label-title">{{ _('Name') }}</label>
{% if form.full_name.errors %}
{% for error in form.full_name.errors %}
<p class="help-inline text-error">{{ error }}</p>