ikiwiki/doc/bugs/__91____91____33__inline_po...

25 lines
896 B
Plaintext
Raw Normal View History

2014-07-05 00:40:20 +02:00
[[!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]]
2013-09-17 09:52:14 +02:00
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).
2013-09-17 09:53:18 +02:00
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.
2013-09-17 09:53:18 +02:00
--[[smcv]]
>> this looks simple, straightforward and good to me --[[chrysn]]
2014-09-12 22:50:20 +02:00
>>> [[merged|done]] --[[smcv]]