Edited contents

parent 66c82467
...@@ -6,9 +6,11 @@ ...@@ -6,9 +6,11 @@
{% block heading %}<h1>Add a new announcement:</h1>{% endblock %} {% block heading %}<h1>Add a new announcement:</h1>{% endblock %}
{% block content %} {% block content %}
<form method="POST" action="{% url 'announcements:add' %}" enctype="multipart/form-data"> <form method="POST">
{% csrf_token %} {% csrf_token %}
{{ announcement_form.as_table }} <table>
{{ form.as_table }}
</table><br><br>
<p> <p>
<input class="button" type="submit" value="Add Announcement"> <input class="button" type="submit" value="Add Announcement">
</p> </p>
......
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