Commit 8fa7d74d authored by Dries's avatar Dries
Browse files

- Patch #6498 by jhriggs: <label> requires opening and closing tags.
parent 01e76e37
......@@ -283,12 +283,6 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL) {
$title = "<label>$title:</label><br />";
}
}
else {
if ($id) {
$title = "<label for=\"$id\"></label>";
// TODO: does this make sense to do?
}
}
if ($description) {
$description = "<div class=\"description\">$description</div>";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment