Bugfix. Still render server input field, just make it hidden.

This commit is contained in:
JC Brand 2016-07-26 08:30:10 +00:00
parent e109c54cf4
commit 0f3526c570

View File

@ -4,8 +4,8 @@
<input type="text" name="chatroom" class="new-chatroom-name" placeholder="{{label_room_name}}"/> <input type="text" name="chatroom" class="new-chatroom-name" placeholder="{{label_room_name}}"/>
{[ if (server_input_type != 'hidden') { ]} {[ if (server_input_type != 'hidden') { ]}
<label{{server_label_global_attr}}>{{label_server}}</label> <label{{server_label_global_attr}}>{{label_server}}</label>
<input type="{{server_input_type}}" name="server" class="new-chatroom-server" placeholder="{{label_server}}"/>
{[ } ]} {[ } ]}
<input type="{{server_input_type}}" name="server" class="new-chatroom-server" placeholder="{{label_server}}"/>
<input type="submit" class="pure-button button-primary" name="join" value="{{label_join}}"/> <input type="submit" class="pure-button button-primary" name="join" value="{{label_join}}"/>
<input type="button" class="pure-button button-secondary" name="show" id="show-rooms" value="{{label_show_rooms}}"/> <input type="button" class="pure-button button-secondary" name="show" id="show-rooms" value="{{label_show_rooms}}"/>
</fieldset> </fieldset>