23 lines
563 B
HTML
23 lines
563 B
HTML
{% extends "base.html" %}
|
|
{% load static %}
|
|
{% block title %}
|
|
{{ title }}
|
|
{% endblock title %}
|
|
{% block content %}
|
|
<form method="post" enctype="multipart/form-data">
|
|
<table class="mx-auto">
|
|
{% csrf_token %}
|
|
|
|
{{ form.as_table }}
|
|
<tr>
|
|
<td><input type="submit" value="Submit"/></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
{% endblock content %}
|
|
{% block scripts %}
|
|
{% if script_name %}
|
|
<script type="module" src="{% static 'js/'|add:script_name %}"></script>
|
|
{% endif %}
|
|
{% endblock scripts %}
|