summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-15 04:30:30 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-15 04:30:30 +0000
commit3cece254a1a2e3682f9af89e554cc5e415f0b28c (patch)
treeb550586145fbd0620d98cb6f7e657ac438589500
parente2f1b4573e2d8b7a1f4635d5fe37f32556b3d3a7 (diff)
downloadtags-3cece254a1a2e3682f9af89e554cc5e415f0b28c.tar.gz
tags-3cece254a1a2e3682f9af89e554cc5e415f0b28c.tar.bz2
tags-3cece254a1a2e3682f9af89e554cc5e415f0b28c.zip
checks to keep user input after preview
-rw-r--r--templates/edit_tags.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_tags.tpl b/templates/edit_tags.tpl
index 836ebaf..0daad50 100644
--- a/templates/edit_tags.tpl
+++ b/templates/edit_tags.tpl
@@ -3,7 +3,7 @@
<div class="row">
{formlabel label="Add Tags" for="tags"}
{forminput}
- <input type="text" name="tags" id="tags" value="{if $tagList}{$tagList}{/if}" />
+ <input type="text" name="tags" id="tags" value="{if $smarty.post.preview}{$smarty.post.tags}{elseif $tagList}{$tagList}{/if}" />
{formhelp note="Enter key words to describe your content. Separate each tag with a comma: tag one,tag two."}
{/forminput}
</div>