Fix form submit URL

This commit is contained in:
Michal Čihař 2012-03-05 10:02:35 +01:00
parent 3c6d62d76e
commit d251439144

View File

@ -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 }}