]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/__91____91____33__inline_postform__61__no__93____93___doesn__39__t_disable_it.mdwn
more changelog and bug-closing
[ikiwiki.git] / doc / bugs / __91____91____33__inline_postform__61__no__93____93___doesn__39__t_disable_it.mdwn
1 [[!tag patch users/smcv/ready]]
2 [[!template id=gitbranch branch=smcv/ready/postform-no
3 author="[[Simon McVittie|smcv]]"
4 browse=http://git.pseudorandom.co.uk/smcv/ikiwiki.git/shortlog/refs/heads/ready/postform-no]]
5
6 The [[ikiwiki/directive/inline]] directive generates a form if
7 it has either rootpage, or postform with a "yes-like" value. This
8 means that
9
10     \[[!inline pages=... rootpage=sandbox postform=no]]
11
12 does have a form. I would expect it not to (although
13 mentioning rootpage there is useless).
14
15 See also [[forum/How_to_disable_"Add_a_new_post_titled:"_submission_form?]].
16
17 My `ready/postform-no` branch also contains a trivial regression test for
18 `inline`. So far the only thing it really tests is that this bug was fixed,
19 not the actual inlining of pages, but it's a start.
20
21 --[[smcv]]
22
23 >> this looks simple, straightforward and good to me --[[chrysn]]
24 >>> [[merged|done]] --[[smcv]]