summaryrefslogtreecommitdiff
path: root/templates/edit_pigeonholes.tpl
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-06-10 12:35:52 +0000
committerNick Palmer <nick@sluggardy.net>2007-06-10 12:35:52 +0000
commitacf116b962533031323663bb1d6bd553635beddb (patch)
tree0d12c7375bd9e09163779b1aa27eacab3bef57e3 /templates/edit_pigeonholes.tpl
parent7d6e8febc228909303e686e99ab44d443d5c7811 (diff)
downloadpigeonholes-acf116b962533031323663bb1d6bd553635beddb.tar.gz
pigeonholes-acf116b962533031323663bb1d6bd553635beddb.tar.bz2
pigeonholes-acf116b962533031323663bb1d6bd553635beddb.zip
Make pigeonholes LibertyAttachables and descriptions parsed content. Cleanup display_description checking in templates. Need to add the attachment browser probably.
Diffstat (limited to 'templates/edit_pigeonholes.tpl')
-rw-r--r--templates/edit_pigeonholes.tpl12
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl
index 0b3bf12..18f4229 100644
--- a/templates/edit_pigeonholes.tpl
+++ b/templates/edit_pigeonholes.tpl
@@ -34,13 +34,11 @@
{/forminput}
</div>
- <div class="row">
- {formlabel label="Description" for="pigeonhole-desc"}
- {forminput}
- <textarea id="pigeonhole-desc" name="pigeonhole[edit]" rows="3" cols="50">{$pigeonInfo.data|escape}</textarea>
- {formhelp note="A description of the category. This will be visible when users view this particular category."}
- {/forminput}
- </div>
+ {if $gBitSystem->isFeatureActive('pigeonholes_display_description')}
+ <div class="row">
+ {textarea id="pigeonhole-desc" name="pigeonhole[edit]" note="A description of the category. This will be visible when users view this particular category." label="Description"}{$pigeonInfo.data}{/textarea}
+ </div>
+ {/if}
{if $gBitSystem->isFeatureActive( 'pigeonholes_allow_forbid_insertion') }
<div class="row">