Skip to content

Instantly share code, notes, and snippets.

@godmar
Created August 23, 2015 23:33
Show Gist options
  • Save godmar/fb23830388c6b79c9b1d to your computer and use it in GitHub Desktop.
Save godmar/fb23830388c6b79c9b1d to your computer and use it in GitHub Desktop.
--- a/frontend/templates/submissions.html
+++ b/frontend/templates/submissions.html
@@ -56,7 +56,7 @@ Your Submissions
</div>
<div class="col-lg-4">
{% from "submit_form.html" import submit_form %}
- {{ submit_form(problems, contest, next_url='/submissions') }}
+ {{ submit_form(problems, contest, next_url=root + '/submissions', root=root) }}
</div>
{% endblock %}
@godmar
Copy link
Author

godmar commented Aug 23, 2015

I think that should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment