aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2018-09-04 15:56:03 +0100
committerStruan Donald <struan@exo.org.uk>2018-09-13 11:00:53 +0100
commit90a2c224d2f4112609c140777ac065b60076f15d (patch)
tree48e11410ff00ee99d0d86512d3abe7ac00cd04d9 /templates
parentf2a5d899308634fb06605a1d8035e19eadb8932a (diff)
allow web based use of report import
if a web parameter is passed to /import then display the email confirmation sent page rather than a SUCCESS message. Enables this page to be used for creating partial reports from a web page. For mysociety/collideoscope#17
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/new/report_import.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/web/base/report/new/report_import.html b/templates/web/base/report/new/report_import.html
index 7aa105afe..f2ead081b 100644
--- a/templates/web/base/report/new/report_import.html
+++ b/templates/web/base/report/new/report_import.html
@@ -85,6 +85,7 @@ line each starting with <samp>ERROR:</samp>.
</dd>
</dl>
+<input type="hidden" name="web" value="0">
<input type="submit" />
</form>