0 Votes

Changes for page Anti White Incidents

Last modified by Ryan C on 2025/06/08 18:31

From version 5.1
edited by Ryan C
on 2025/06/08 16:59
Change comment: There is no comment for this version
To version 1.1
edited by Ryan C
on 2025/06/08 16:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,24 @@
1 1  {{velocity}}
2 +#set ($hasEdit = $services.security.authorization.hasAccess('edit'))
3 +#set ($canComment = $services.security.authorization.hasAccess('comment'))
4 +
2 2  = Anti-White Incident Reports =
3 3  
7 +#if ($hasEdit)
8 + == Submit an Incident ==
9 + {{html clean="false"}}
10 + <form action="#" method="post">
11 + <input type="text" name="title" placeholder="Title" />
12 + <br/>
13 + <textarea name="description" placeholder="Describe the incident"></textarea>
14 + <br/>
15 + <input type="submit" value="Submit" />
16 + </form>
17 + {{/html}}
18 +#end
19 +
4 4  == Past Reports ==
5 -$services.sheet.display($xwiki.getDocument("Help.Applications.AntiWhiteIncidents.WebHome"))
21 +{{livetable AntiWhiteIncidents class="AntiWhiteIncidents.Code.AntiWhiteIncidentsClass"/}}
22 +
6 6  {{/velocity}}
7 7