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