Commit c5ec85a6 authored by stef's avatar stef
Browse files

[fix] uploaded files now work

parent f8e57f39
......@@ -14,7 +14,7 @@
{%block content%}
<h2>{% trans "New Violation" %}</h2>
<form id='addForm' name="addForm" action="{% root_url %}/add/" method="post">
<form id='addForm' name="addForm" enctype="multipart/form-data" action="{% root_url %}/add/" method="post">
{% for field in form %}
{% if field.label = 'Resource' %}<div id="show_optionals">{% trans "Provide optional details" %}</div><div id="optional">{%endif%}
<div class="fieldWrapper">
Supports Markdown
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