ikiwiki/doc/bugs/__91____91____33__inline_po...

25 lines
896 B
Markdown

[[!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]]
>> this looks simple, straightforward and good to me --[[chrysn]]
>>> [[merged|done]] --[[smcv]]