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