Browse Source

Don't render input inside label

JC Brand 10 years ago
parent
commit
3de79ba607
1 changed files with 2 additions and 1 deletions
  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">
 <div class="chatroom-form-container">
     <form class="chatroom-form">
     <form class="chatroom-form">
         <legend>{{heading}}</legend>
         <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}}"/>
         <input type="submit" value="{{label_submit}}"/>
     </form>
     </form>
 </div>
 </div>