aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_list.tpl
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-09-15 16:30:14 +0200
committergit-marijus <mario@mariovavti.com>2017-09-15 16:30:14 +0200
commit663802e6992858c026a4e9b325575bc064cc687d (patch)
tree1889ae84e99fa9c7c39a504a25aca3d492a7ecc7 /view/tpl/wiki_page_list.tpl
parent4c5722c766643af368f600abb93a44fc72d27c11 (diff)
parent67348547765876faa847fa53f92d37a6b4bc4aa5 (diff)
downloadvolse-hubzilla-663802e6992858c026a4e9b325575bc064cc687d.tar.gz
volse-hubzilla-663802e6992858c026a4e9b325575bc064cc687d.tar.bz2
volse-hubzilla-663802e6992858c026a4e9b325575bc064cc687d.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'view/tpl/wiki_page_list.tpl')
-rw-r--r--view/tpl/wiki_page_list.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl
index 2e7fb8b9e..3d38a0b81 100644
--- a/view/tpl/wiki_page_list.tpl
+++ b/view/tpl/wiki_page_list.tpl
@@ -21,7 +21,11 @@
<div id="new-page-form-wrapper" class="sub-menu" style="display:none;">
<form id="new-page-form" action="wiki/{{$channel_address}}/create/page" method="post" >
<input type="hidden" name="resource_id" value="{{$resource_id}}">
+ {{if $typelock}}
+ <input type="hidden" name="mimetype" value="{{$lockedtype}}">
+ {{else}}
{{$mimetype}}
+ {{/if}}
{{include file="field_input.tpl" field=$pageName}}
<button id="new-page-submit" class="btn btn-primary" type="submit" name="submit" >Submit</button>
</form>