... |
... |
@@ -1,4 +1,19 @@ |
1 |
|
-[[Add an Incident>>path:/bin/edit/Help/Applications/Anti%20White%20Incidents/%20/WebHome?form_token=$services.csrf.token&template=Help.Applications.Anti%20White%20Incidents.Code.MoviesTemplate&title=%20&parent=Help.Applications.Anti%20White%20Incidents.WebHome&editor=inline]] |
|
1 |
+{{velocity output="yes"}} |
|
2 |
+#set($objectIndex = $mathtool.random(100000,999999)) ## Any large number to avoid conflict |
|
3 |
+#set($timestamp = $datetool.format("yyyyMMddHHmmss", $datetool.now())) |
|
4 |
+#set($url = "/bin/edit/Help/Applications/Anti%20White%20Incidents/%20/WebHome?editor=inline&form_token=$services.csrf.token&AntiWhiteIncidents_${objectIndex}_headline=Auto_$timestamp") |
|
5 |
+{{html clean="false"}} |
|
6 |
+<form action="$url" method="get" style="margin-bottom:20px;"> |
|
7 |
+ <button class="btn btn-primary" type="submit"> |
|
8 |
+ 📝 Submit an Incident |
|
9 |
+ </button> |
|
10 |
+</form> |
|
11 |
+{{/html}} |
|
12 |
+{{/velocity}} |
2 |
2 |
|
|
14 |
+ |
|
15 |
+== Reported Incidents == |
|
16 |
+ |
3 |
3 |
{{include reference="Help.Applications.Anti White Incidents.WebHome"/}} |
4 |
4 |
|
|
19 |
+ |