Parcourir la source

Don't render input inside label

JC Brand il y a 10 ans
Parent
commit
3de79ba607
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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>