mirror of https://github.com/zulip/zulip.git
Correctly associate bot name field label
The label element for the bot name editing field was trying to use a "for" attribute to link it to the input field, but the field had no ID for it to associate with. Added the ID value which it was trying to use. Fixes #4999.
This commit is contained in:
parent
d7ecb252df
commit
64721abac3
|
@ -15,7 +15,7 @@
|
||||||
<div class="edit-bot-form-box">
|
<div class="edit-bot-form-box">
|
||||||
<div class="">
|
<div class="">
|
||||||
<label for="edit_bot_name">{{ _("Full name") }}</label>
|
<label for="edit_bot_name">{{ _("Full name") }}</label>
|
||||||
<input type="text" name="bot_name" class="edit_bot_name required" maxlength=50 />
|
<input id="edit_bot_name" type="text" name="bot_name" class="edit_bot_name required" maxlength=50 />
|
||||||
<div><label for="edit_bot_name" generated="true" class="text-error"></label></div>
|
<div><label for="edit_bot_name" generated="true" class="text-error"></label></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="edit-bot-owner">
|
<div class="edit-bot-owner">
|
||||||
|
|
Loading…
Reference in New Issue