1
0
mirror of https://github.com/sakofchit/system.css.git synced 2026-05-05 06:01:22 +09:00

Associate text field labels correctly with form fields

This commit is contained in:
Patrick H. Lauke
2022-08-12 20:47:56 +01:00
parent 20ecb5e17b
commit de788827d7

View File

@@ -283,10 +283,10 @@
<%- example(`
<form>
<label for="email">Email</label><br>
<input type="email" placeholder="panic@thedis.co"/><br>
<label for="password">Password</label><br>
<input type="password" placeholder="password"/><br><br>
<label for="text_email">Email</label><br>
<input id="text_email" type="email" placeholder="panic@thedis.co"/><br>
<label for="text_pwd">Password</label><br>
<input id="text_pwd" type="password" placeholder="password"/><br><br>
</form>
`)%>