Browse Source

Don't render input inside label

JC Brand 10 năm trước cách đây
mục cha
commit
3de79ba607
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/templates/chatroom_password_form.html

+ 2 - 1
src/templates/chatroom_password_form.html

@@ -1,7 +1,8 @@
 <div class="chatroom-form-container">
     <form class="chatroom-form">
         <legend>{{heading}}</legend>
-        <label>{{label_password}}<input type="password" name="password"/></label>
+        <label>{{label_password}}</label>
+        <input type="password" name="password"/>
         <input type="submit" value="{{label_submit}}"/>
     </form>
 </div>