Commit bf2b5273 authored by Cherish Magpayo's avatar Cherish Magpayo

Create html containing new announcement form for add view

parent 3455238f
{% extends "announcements/base.html" %}
{% block content %}
<h1> New Announcement </h1>
<form method="POST" action="{% url 'announcements:add' %}" enctype="multipart/form-data">
{% csrf_token %}
{{ announcement_form.as_p }}
<button class="button" type="submit">Save Announcement</button>
</form>
<form action="/announcements/">
<button class="button" type="submit">Back to Announcement Board</button>
</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