summaryrefslogtreecommitdiff
path: root/templates/edit_pigeonholes.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/edit_pigeonholes.tpl')
-rw-r--r--templates/edit_pigeonholes.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl
index 5278cdc..0b3bf12 100644
--- a/templates/edit_pigeonholes.tpl
+++ b/templates/edit_pigeonholes.tpl
@@ -42,6 +42,16 @@
{/forminput}
</div>
+ {if $gBitSystem->isFeatureActive( 'pigeonholes_allow_forbid_insertion') }
+ <div class="row">
+ {formlabel label="Forbid Insertion" for="pigeonhole-no-insert"}
+ {forminput}
+ <input type="checkbox" name="pigeonhole[prefs][no_insert]" id="pigeonhole-no-insert" {if $gContent->mPrefs.no_insert}checked{/if} />
+ {formhelp note="Forbids inserting new content into this category. Useful for categories which are meant to hold other categories in a heirarchy where only leaf categories should hold content."}
+ {/forminput}
+ </div>
+ {/if}
+
{if $gBitSystem->isFeatureActive( 'pigeonholes_themes' )}
<div class="row">
{formlabel label="Theme" for="pigeonhole-style"}