Permalink
Browse files

Add for attribute on label

  • Loading branch information...
1 parent 81d7d01 commit 2edc5678c82c2ce225b388f2616cce08b62c01a2 @joshuaclayton committed Oct 7, 2009
Showing with 4 additions and 3 deletions.
  1. +4 −3 app/views/pages/index.html.erb
@@ -1,4 +1,5 @@
<form method="get">
- <label>Enter your long URL:</label> <input type="text" id="url" name="url" placeholder="url" value="" />
- <input type="submit" value="Shorten">
-</form>
+ <label for="url">Enter your long URL</label>
+ <input type="text" id="url" name="url" placeholder="url" value="" />
+ <input type="submit" value="Shorten">
+</form>

0 comments on commit 2edc567

Please sign in to comment.