Merge pull request #1774 from alphagov/500-on-letter-json-page

Fix 500 error from notifications/letter.json page
This commit is contained in:
Katie Smith
2018-01-15 10:05:09 +00:00
committed by GitHub

View File

@@ -42,6 +42,10 @@
<input type="hidden" name="to" value="{{ search_form.to.data }}">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
</form>
{% else %}
<form id="search-form" method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
</form>
{% endif %}
<!--<p class="bottom-gutter">-->
<!--<a href="{{ download_link }}" download="download" class="heading-small">Download this report</a>-->