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

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

{% block title %}New Assignment{% endblock %}
{% block content %}
    <h1>New Assignment</h1>
    <div> 
        <form method="POST" enctype="multipart/form-data">
            {% csrf_token %}
            Assignment name: {{ form.name }}<br>
            Description: <br>{{ form.description }}<br>
            Max points: {{ form.max_points }}<br>
            Course Code/Course Title/Section: {{ form.course }}<br>
            Image: {{ form.assignment_image}}<br>
            
            <input type="submit" value="Save Assignment">
        </form>
    </div>
{% endblock  %}