Skip to content

Commit

Permalink
Allow specifying of a specific url for questions to post to
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldfallen committed Dec 22, 2017
1 parent 1f25ac6 commit bdc9370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/look-and-feel/layouts/check_your_answers.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{{ header('Now send your application', size='medium') }}
<p>{{ pageContent.statementOfTruth | default(defaultContent.statementOfTruth) }}</p>
{% endblock %}
<form action="{{ path if path else url }}" method="post" class="form">
<form action="{{ postUrl | default(path if path else url) }}" method="post" class="form">

{% block statement_of_truth_fields %}
{{ hiddenInput(fields.statementOfTruth, value=true) }}
Expand Down
2 changes: 1 addition & 1 deletion templates/look-and-feel/layouts/question.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

{{ header(title, size='large') }}

<form action="{{ path if path else url }}" method="post" class="form">
<form action="{{ postUrl | default(path if path else url) }}" method="post" class="form">

{%- if fields.validated and not fields.valid -%}
<div class="error-summary" role="group" aria-labelledby="error-summary-heading" tabindex="-1">
Expand Down

0 comments on commit bdc9370

Please sign in to comment.