... |
... |
@@ -1,7 +1,6 @@ |
1 |
1 |
{{velocity output="yes"}} |
2 |
|
-#set($objectIndex = $mathtool.random(100000,999999)) ## Any large number to avoid conflict |
3 |
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") |
|
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") |
5 |
5 |
{{html clean="false"}} |
6 |
6 |
<form action="$url" method="get" style="margin-bottom:20px;"> |
7 |
7 |
<button class="btn btn-primary" type="submit"> |
... |
... |
@@ -11,9 +11,7 @@ |
11 |
11 |
{{/html}} |
12 |
12 |
{{/velocity}} |
13 |
13 |
|
14 |
|
- |
15 |
15 |
== Reported Incidents == |
16 |
16 |
|
17 |
17 |
{{include reference="Help.Applications.Anti White Incidents.WebHome"/}} |
18 |
18 |
|
19 |
|
- |