X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/aa926392b0a80e3016cccaca8c359dbfe9363c49..9f3f0e7418204677fc0524d99dbe5b2aebe6ce5a:/doc/bugs/__91____91____33__inline_postform__61__no__93____93___doesn__39__t_disable_it.mdwn diff --git a/doc/bugs/__91____91____33__inline_postform__61__no__93____93___doesn__39__t_disable_it.mdwn b/doc/bugs/__91____91____33__inline_postform__61__no__93____93___doesn__39__t_disable_it.mdwn index adb4bb330..7e7548657 100644 --- a/doc/bugs/__91____91____33__inline_postform__61__no__93____93___doesn__39__t_disable_it.mdwn +++ b/doc/bugs/__91____91____33__inline_postform__61__no__93____93___doesn__39__t_disable_it.mdwn @@ -1,3 +1,8 @@ +[[!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 @@ -6,3 +11,13 @@ means that 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]]