mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 11:08:26 -04:00
Merge pull request #1774 from alphagov/500-on-letter-json-page
Fix 500 error from notifications/letter.json page
This commit is contained in:
@@ -42,6 +42,10 @@
|
|||||||
<input type="hidden" name="to" value="{{ search_form.to.data }}">
|
<input type="hidden" name="to" value="{{ search_form.to.data }}">
|
||||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||||
</form>
|
</form>
|
||||||
|
{% else %}
|
||||||
|
<form id="search-form" method="post">
|
||||||
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
||||||
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!--<p class="bottom-gutter">-->
|
<!--<p class="bottom-gutter">-->
|
||||||
<!--<a href="{{ download_link }}" download="download" class="heading-small">Download this report</a>-->
|
<!--<a href="{{ download_link }}" download="download" class="heading-small">Download this report</a>-->
|
||||||
|
|||||||
Reference in New Issue
Block a user