Add missing enctype

This commit is contained in:
Michal Čihař 2012-03-04 09:44:32 +01:00
parent eacdac609c
commit 84516e8ec2

View File

@ -27,7 +27,7 @@
<a href="{{ object.get_download_url }}">{% trans "Download" %}</a>
{% if user.is_authenticated %}
<form action="{% url 'trans.views.upload_translation' %}" method="post">
<form action="{% url 'trans.views.upload_translation' %}" method="post" enctype="multipart/form-data">
<table>
{{ form.as_table }}
<tr><td></td><td><input type="submit" value="{% trans "Upload" %}" /></td></tr>