mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-08 16:52:18 +02:00
Mark the channel field of "Join a channel" UI as required
This commit is contained in:
parent
a03f894888
commit
1063d7b1d6
|
@ -1,5 +1,5 @@
|
||||||
<form id="join-channel-{{id}}" class="join-form" method="post" action="" autocomplete="off">
|
<form id="join-channel-{{id}}" class="join-form" method="post" action="" autocomplete="off">
|
||||||
<input type="text" class="input" name="channel" placeholder="Channel" pattern="[^\s]+" maxlength="200" title="Should be a valid channel name">
|
<input type="text" class="input" name="channel" placeholder="Channel" pattern="[^\s]+" maxlength="200" title="Should be a valid channel name" required>
|
||||||
<input type="password" class="input" name="key" placeholder="Password (optional)" pattern="[^\s]+" title="Should be a valid channel key" maxlength="200" >
|
<input type="password" class="input" name="key" placeholder="Password (optional)" pattern="[^\s]+" title="Should be a valid channel key" maxlength="200" >
|
||||||
<button type="submit" class="btn joinchan:submit" data-id="{{id}}">Join</button>
|
<button type="submit" class="btn joinchan:submit" data-id="{{id}}">Join</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue