Skip to content

Commit

Permalink
WIP - Send application origin when creating an application
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Liburd committed Jan 30, 2025
1 parent 309fcf9 commit 0c7d9a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/views/applications/search-by-crn.njk
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-three-quarters">
<form action="{{ paths.applications.people.find() }}" method="post" autocomplete="off">
<form action="{{ paths.applications.people.findByCrn() }}" method="post" autocomplete="off">
<input type="hidden" name="_csrf" value="{{ csrfToken }}"/>
<input type="hidden" name="applicationOrigin" value="courtBail"/>

{{ showErrorSummary(errorSummary) }}

Expand Down Expand Up @@ -50,4 +51,4 @@
</form>
</div>
</div>
{% endblock %}
{% endblock %}

0 comments on commit 0c7d9a0

Please sign in to comment.