Commit b804aa8b authored by Ciella Francisco's avatar Ciella Francisco 😵

Edited event-form.html to enable image uploads for forms

parent adf29c2d
......@@ -8,7 +8,7 @@
{% load static %}
{% block title %}Widget's Forum{% endblock %}
{% block content %}
{ form.non_field_errors }
{{ form.non_field_errors }}
{% for field in form %}
{% if field.errors %}
<p>{{ field.label }} has the following errors:</p>
......@@ -19,8 +19,9 @@
</ul>
{% endif %}
{% endfor %}
<form action="/add" method="post">
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{{ form }}
<input type="submit" value="Save"/>
</form>
{% endblock %}
\ No newline at end of file
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