... |
... |
@@ -1,4 +1,21 @@ |
|
1 |
+{{velocity output="yes"}} |
|
2 |
+#set($timestamp = $datetool.format("yyyyMMddHHmmss", $datetool.now())) |
|
3 |
+#set($url = $xwiki.getURL("Help.Applications.AntiWhiteIncidents.${timestamp}", "edit", { |
|
4 |
+ "template" : "Help.Applications.AntiWhiteIncidents.Code.MoviesTemplate", |
|
5 |
+ "parent" : "Help.Applications.AntiWhiteIncidents.WebHome", |
|
6 |
+ "editor" : "inline", |
|
7 |
+ "form_token" : $services.csrf.token |
|
8 |
+})) |
1 |
1 |
{{html clean="false"}} |
2 |
|
-<iframe src="/bin/view/Help/Applications/AntiWhiteIncidents/Code/PublicInterface" width="100%" height="1200" frameborder="0" style="border:1px solid #ccc;"></iframe> |
|
10 |
+<form action="$url" method="get" style="margin-bottom:20px;"> |
|
11 |
+ <button class="btn btn-primary" type="submit"> |
|
12 |
+ 📝 Submit an Incident |
|
13 |
+ </button> |
|
14 |
+</form> |
3 |
3 |
{{/html}} |
|
16 |
+{{/velocity}} |
4 |
4 |
|
|
18 |
+== Reported Incidents == |
|
19 |
+ |
|
20 |
+{{include reference="Help.Applications.Anti White Incidents.WebHome"/}} |
|
21 |
+ |