diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2010-04-21 22:48:33 -0600 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2010-04-21 22:48:33 -0600 |
commit | 67ced571c7ea066d9e166deb49a63d327e2c1f4d (patch) | |
tree | 4d49980fa3226b54c72d8ff08719f709fe304cde /modules/tag/helpers | |
parent | 39818dd29fdd883d055ab9ec582c8039d3c129c8 (diff) |
HTML validation and accessibility fix, add id attr to add tag input.
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r-- | modules/tag/helpers/tag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag.php b/modules/tag/helpers/tag.php index 8df4210d..14d27c94 100644 --- a/modules/tag/helpers/tag.php +++ b/modules/tag/helpers/tag.php @@ -98,7 +98,7 @@ class tag_Core { ($item->is_photo() ? t("Add tag to photo") : t("Add tag to movie")); $group = $form->group("add_tag")->label("Add Tag"); - $group->input("name")->label($label)->rules("required"); + $group->input("name")->label($label)->rules("required")->id("name"); $group->hidden("item_id")->value($item->id); $group->submit("")->value(t("Add Tag")); return $form; |