Commit 28ff3b64 authored by Javi Ng's avatar Javi Ng

created announcement-edit.html

parent be1a2373
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
{% csrf_token %} {% csrf_token %}
{% for field in form%} {% for field in form%}
<b>{{ field.label }}:</b> {{ field }} <br> <b>{{ field.label }}:</b> {{ field }} <br><br>
{% endfor %} {% endfor %}
<button type="submit">Add Announcement</button> <button type="submit">Add Announcement</button>
......
{% extends 'base.html' %}
{% load static %}
{% block title %} Edit Announcement {% endblock %}
{% block content %}
<h1> Edit announcement: </h1>
<form method="POST">
{% csrf_token %}
{% for field in form%}
<b>{{ field.label }}:</b> {{ field }} <br><br>
{% endfor %}
<button type="submit">Save Changes to Announcement</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