Skip to content

Commit

Permalink
fix: allow multi-start pages to progress the form with a continue but…
Browse files Browse the repository at this point in the history
…ton (#1209)
  • Loading branch information
ziggy-cyb authored Mar 12, 2024
1 parent 8975431 commit 8bd1aa2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions runner/src/server/views/multi-start-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@

{% include "partials/heading.html" %}

{{ componentList(components) }}
<form method="post" enctype="multipart/form-data" autocomplete="on">
<input type="hidden" name="crumb" value="{{crumb}}"/>
{{ componentList(components) }}

{% if continueButtonText %}
{{ govukButton({ attributes: { is: "submit" }, text: continueButtonText })}}
{% endif %}
{% if continueButtonText %}
{{ govukButton({ attributes: { id: "submit" }, text: continueButtonText })}}
{% endif %}

{{ govukPagination(startPageNavigation) }}
{{ govukPagination(startPageNavigation) }}
</form>

<pre>{{ value | dump(2) | safe }}</pre>
</div>
Expand Down

0 comments on commit 8bd1aa2

Please sign in to comment.