added parent edit page
This commit is contained in:
16
templates/edit.html
Normal file
16
templates/edit.html
Normal file
@ -0,0 +1,16 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
{% block title %}Editing {{ class }} {{ id }}{% endblock %}
|
||||
{% block head %}
|
||||
<link rel="stylesheet" href="{% static "edit.css" %}">
|
||||
{% endblock %}
|
||||
{% block main %}
|
||||
<div class="container">
|
||||
<h2>Editing {{ class }} {{ id }}</h2>
|
||||
<form action="" method="POST">
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
<button type="submit">Save</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user