added form page

parent 7cdfe545
<!-- homepage/widgetuser_form.html -->
{% extends 'base.html' %}
{% load static %}
{% block title %}Create Assignment{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{% static 'assignments/css/style.css' %}">
{% endblock %}
{% block header %}
New Assignment
{% endblock %}
{% block content %}
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Save Assignment">
</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