register: Only display full URL when subdomains is enabled.

This commit is contained in:
Tim Abbott 2016-12-07 23:21:45 -08:00
parent faddd3b1e0
commit ff71559bdf
1 changed files with 4 additions and 1 deletions

View File

@ -99,7 +99,10 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
<div class="breakpoint">
<input id="id_team_subdomain" class="required" type="text"
placeholder="{{ _("acme") }}"
name="realm_subdomain" maxlength="40" /><b> .{{ external_host }}</b>
name="realm_subdomain" maxlength="40" />
{% if realms_have_subdomains %}
<b> .{{ external_host }}</b>
{% endif %}
{% if form.realm_subdomain.errors %}
{% for error in form.realm_subdomain.errors %}
<div class="alert alert-error">{{ error }}</div>