Remove complete section when registering disabled.
Move out the check so that the complete div containing the register-link is removed.
This commit is contained in:
parent
fe74a3d697
commit
e5ed2fdede
|
@ -33,9 +33,11 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
{{if $register}}
|
||||||
<div id="login-extra-links">
|
<div id="login-extra-links">
|
||||||
<h3 id="login-head" class="sr-only">{{$register.title|escape:'html'}}</h3>
|
<h3 id="login-head" class="sr-only">{{$register.title|escape:'html'}}</h3>
|
||||||
{{if $register}}<a href="register" title="{{$register.title|escape:'html'}}" id="register-link">{{$register.desc}}</a>{{/if}}
|
<a href="register" title="{{$register.title|escape:'html'}}" id="register-link">{{$register.desc}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>
|
<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user