Wiki source code of HowCanAPageBeCreatedFromATemplatePage
Last modified by HenrikLindqvist on 2007/11/07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | <form action="" id="newfaq"> | ||
2 | <input type="hidden" name="parent" value="FAQ.WebHome" /> | ||
3 | <input type="hidden" name="template" value="XWiki.FAQClassTemplate" /> | ||
4 | <input type="hidden" name="sheet" value="1" /> | ||
5 | <input type="hidden" name="webname" value="FAQ"/> | ||
6 | <input type="hidden" name="name" value=""/> | ||
7 | <table> | ||
8 | <tr> | ||
9 | <td> | ||
10 | <input type="text" name="faq" value="" size="30"/> | ||
11 | </td> | ||
12 | <td> | ||
13 | <input type="submit" value="Add this FAQ" onclick='if (updateName(this.form.faq,this.form.name)) { action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }' /> | ||
14 | </td> | ||
15 | </tr> | ||
16 | </table> | ||
17 | </form> | ||
18 |