Commit d2514391 authored by Michal Čihař's avatar Michal Čihař

Fix form submit URL

parent 3c6d62d7
......@@ -28,7 +28,7 @@
<a href="{{ object.get_download_url }}">{% trans "Download" %}</a>
{% if user.is_authenticated %}
<form action="{% url 'trans.views.upload_translation' %}" method="post" enctype="multipart/form-data">
<form action="{% url 'trans.views.upload_translation' project=object.subproject.project.slug subproject=object.subproject.slug lang=object.language.code %}" method="post" enctype="multipart/form-data">
{% csrf_token %}
<table>
{{ form.as_table }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment