Hide username field when hexip is enabled
This commit is contained in:
parent
6887b66f67
commit
c37d2b435e
@ -169,12 +169,14 @@
|
|||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
<input class="input nick" id="connect:nick" name="nick" value="<%= defaults.nick %>">
|
<input class="input nick" id="connect:nick" name="nick" value="<%= defaults.nick %>">
|
||||||
</div>
|
</div>
|
||||||
|
<% if (!useHexIp) { %>
|
||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
<label for="connect:username">Username</label>
|
<label for="connect:username">Username</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
<input class="input username" id="connect:username" name="username" value="<%= defaults.username %>">
|
<input class="input username" id="connect:username" name="username" value="<%= defaults.username %>">
|
||||||
</div>
|
</div>
|
||||||
|
<% } %>
|
||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
<label for="connect:realname">Real name</label>
|
<label for="connect:realname">Real name</label>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user