{% extends 'base.html' %}
{% load static %}

    {% block styles %}
        <link rel="stylesheet" type="text/css" href="{% static 'announcements/style.css' %}">   
    {% endblock %}

{% block title %}New Announcement{% endblock %}
{% block content %}
    <h1>New Announcement</h1>
    <div> 
        <form method="POST", enctype="multipart/form-data" >
            {% csrf_token %}
            Announcement title: {{form.announcement_title}}<br>
            Announcement body: <br>{{form.announcement_body}}<br>
            Author: {{form.author}}<br>
            Image: {{form.announcement_image}}<br>
            <button>Save Announcement</button>
        </form>
            
    </div>
{% endblock  %}