mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-17 21:56:36 +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">
|
||||
<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" >
|
||||
<button type="submit" class="btn joinchan:submit" data-id="{{id}}">Join</button>
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue