Hide username field when hexip is enabled

This commit is contained in:
Pavel Djundik 2016-12-19 15:19:06 +02:00 committed by Pavel Djundik
parent 6887b66f67
commit c37d2b435e

View File

@ -169,12 +169,14 @@
<div class="col-sm-9">
<input class="input nick" id="connect:nick" name="nick" value="<%= defaults.nick %>">
</div>
<% if (!useHexIp) { %>
<div class="col-sm-3">
<label for="connect:username">Username</label>
</div>
<div class="col-sm-9">
<input class="input username" id="connect:username" name="username" value="<%= defaults.username %>">
</div>
<% } %>
<div class="col-sm-3">
<label for="connect:realname">Real name</label>
</div>