mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
create-realm: Simplify organization name field on new org form.
Removes the placeholder text and hint. Adds a link to the help center article about creating your organization profile. Fixes #34496.
This commit is contained in:
committed by
Tim Abbott
parent
18b2427937
commit
6d7bff4a16
@@ -2,22 +2,20 @@
|
||||
<div class="input-box">
|
||||
<div class="inline-block relative">
|
||||
<input id="id_team_name" class="required" type="text"
|
||||
placeholder="Acme or Ακμή"
|
||||
value="{% if form.realm_name.value() %}{{ form.realm_name.value() }}{% endif %}"
|
||||
name="realm_name" maxlength="{{ MAX_REALM_NAME_LENGTH }}" required {% if not user_registration_form %}autofocus{% endif %} />
|
||||
</div>
|
||||
<label for="id_team_name" class="inline-block label-title">{{ _('Organization name') }}</label>
|
||||
<label for="id_team_name" class="inline-block label-title">
|
||||
{{ _('Organization name') }}
|
||||
<a href="/help/create-your-organization-profile" target="_blank" rel="noopener noreferrer">
|
||||
<i class="fa fa-question-circle-o" aria-hidden="true"></i>
|
||||
</a>
|
||||
</label>
|
||||
{% if form.realm_name.errors %}
|
||||
{% for error in form.realm_name.errors %}
|
||||
<p class="help-inline text-error">{{ error }}</p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if not user_registration_form %}
|
||||
<div class="help-text">
|
||||
{{ _('Shorter is better than longer.') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="input-box">
|
||||
|
||||
@@ -569,7 +569,6 @@ html_rules: list["Rule"] = [
|
||||
"description": "`placeholder` value should be translatable.",
|
||||
"exclude_line": {
|
||||
("templates/zerver/realm_creation_form.html", 'placeholder="acme"'),
|
||||
("templates/zerver/realm_creation_form.html", 'placeholder="Acme or Ακμή"'),
|
||||
},
|
||||
"exclude": {
|
||||
"templates/corporate",
|
||||
|
||||
Reference in New Issue
Block a user