浏览代码

Don't render input inside label

JC Brand 10 年之前
父节点
当前提交
3de79ba607
共有 1 个文件被更改,包括 2 次插入1 次删除
  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>