Fix form submit URL
This commit is contained in:
parent
3c6d62d76e
commit
d251439144
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user