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:
Jeremy Bowman 2017-05-25 10:32:22 -07:00 committed by Tim Abbott
parent d7ecb252df
commit 64721abac3
1 changed files with 1 additions and 1 deletions

View File

@ -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">