diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-27 05:45:17 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-27 05:45:17 +0000 |
| commit | d16790de0cc5e5c0c0783ae3150fd1945fdcef3c (patch) | |
| tree | ca0a515f78d5af07851dc3f65f8cb1163480ddf0 /modules/tag/controllers | |
| parent | 72d16756b169e1f751470670eececf76e88b2bd7 (diff) | |
Get rid of the placeholder "add tags here..." text, and clear the form
on submit.
Diffstat (limited to 'modules/tag/controllers')
| -rw-r--r-- | modules/tag/controllers/tags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php index bf396a5b..1bf515b6 100644 --- a/modules/tag/controllers/tags.php +++ b/modules/tag/controllers/tags.php @@ -49,7 +49,7 @@ class Tags_Controller extends REST_Controller { public function _form_add($item_id) { $form = new Forge(url::site("tags"), "", "post", array("id" => "gAddTag")); - $form->input("tag_name")->value(_("add new tags..."))->id("gNewTags"); + $form->input("tag_name"); $form->hidden("item_id")->value($item_id); $form->submit(_("Add")); $form->add_rules_from(ORM::factory("tag")); |
