FIX: hide full name field on the signup dialog when 'enable_names' is disabled
This commit is contained in:
parent
3c99d536f6
commit
b46663fab0
|
@ -35,17 +35,20 @@
|
||||||
</tr>
|
</tr>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<tr class="input">
|
{{#if siteSettings.enable_names}}
|
||||||
<td style="width:80px" class="label"><label for='new-account-name'>{{i18n 'user.name.title'}}</label></td>
|
<tr class="input">
|
||||||
<td style="width:496px">
|
<td style="width:80px" class="label">
|
||||||
{{text-field value=accountName id="new-account-name"}}
|
<label for='new-account-name'>{{i18n 'user.name.title'}}</label>
|
||||||
{{input-tip validation=nameValidation}}
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
<td style="width:496px">
|
||||||
<tr class="instructions">
|
{{text-field value=accountName id="new-account-name"}} {{input-tip validation=nameValidation}}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="instructions">
|
||||||
<td></td>
|
<td></td>
|
||||||
<td><label>{{nameInstructions}}</label></td>
|
<td><label>{{nameInstructions}}</label></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#if passwordRequired}}
|
{{#if passwordRequired}}
|
||||||
<tr class="input">
|
<tr class="input">
|
||||||
|
|
Loading…
Reference in New Issue