summaryrefslogtreecommitdiff
path: root/modules/tag/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-27 00:26:04 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-27 00:26:04 +0000
commitd881c91e0c542133187e00d62c9191add7a5c33d (patch)
tree23cccf4a825ab410e6b2ca48ed3b107d3952d86e /modules/tag/views
parente3fa1c8acd0e617651e9b4a613413dc51521c63d (diff)
Trying to add tags, but it doesn't work yet. For some reason that i can't figure out, the form never validates and I never get into the true branch of the if. I'm taking a break for awhile.
Diffstat (limited to 'modules/tag/views')
-rw-r--r--modules/tag/views/tag_block.html.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php
index ba2978c7..bd507571 100644
--- a/modules/tag/views/tag_block.html.php
+++ b/modules/tag/views/tag_block.html.php
@@ -8,11 +8,9 @@
<? endforeach ?>
</ul>
-<form id="gAddTag">
- <ul>
- <li><input type="text" class="text" value="add new tags..." id="gNewTags" /></li>
- <li><input type="submit" value="add" /></li>
- </ul>
- <label for="gNewTags" class="gUnderState"><?= _("(separated by commas)") ?></label>
-</form>
+<? if ($page_type != "tag"): ?>
+ <div id="gTagFormContainer">
+ <?= tag::get_add_form($item->id) ?>
+ </div>
+<? endif; ?>