Ver código fonte

Don't render input inside label

JC Brand 10 anos atrás
pai
commit
3de79ba607
1 arquivos alterados com 2 adições e 1 exclusões
  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>