Skip to content

Commit

Permalink
Handle questions presenting a path or a url
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldfallen committed Nov 23, 2017
1 parent cf8588c commit 6e577fd
Showing 1 changed file with 1 addition and 1 deletion.
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="{{ url }}" method="post" class="form">
<form action="{{ 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 6e577fd

Please sign in to comment.