0 Votes

Wiki source code of SubmitForm

Last modified by Ryan C on 2025/06/08 17:13

Show last authors
1 {{velocity}}
2 {{html clean="false"}}
3 <form action="$xwiki.getURL('Help.Applications.AntiWhiteIncidents.Code.TemplateProvider', 'createfromtemplate')">
4 <input type="hidden" name="space" value="Help.Applications.AntiWhiteIncidents"/>
5 <input type="hidden" name="template" value="Help.Applications.AntiWhiteIncidents.Code.TemplateProvider"/>
6 <input type="hidden" name="parent" value="$doc.fullName"/>
7 <input type="hidden" name="title" value="Report - $xcontext.date"/>
8 <input type="hidden" name="xredirect" value="$doc.getURL()"/>
9 <input type="submit" value="Submit a Report"/>
10 </form>
11 {{/html}}
12 {{/velocity}}