timetracker/games/templates/add.html

25 lines
590 B
HTML
Raw Normal View History

2023-01-05 21:05:26 +00:00
{% extends "base.html" %}
{% load static %}
2022-12-31 13:18:27 +00:00
{% block title %}{{ title }}{% endblock title %}
{% block content %}
2023-02-18 21:36:26 +00:00
<form method="post" enctype="multipart/form-data">
<table class="mx-auto">
2023-01-05 21:05:26 +00:00
{% csrf_token %}
2022-12-31 13:18:27 +00:00
2023-02-18 21:36:26 +00:00
{{ form.as_table }}
<tr>
<td></td>
2023-02-18 21:36:26 +00:00
<td><input type="submit" value="Submit"/></td>
</tr>
</table>
2023-01-05 21:05:26 +00:00
</form>
{% endblock content %}
{% block scripts %}
{% if script_name %}
<script type="module" src="{% static 'js/'|add:script_name %}"></script>
{% endif %}
{% endblock scripts %}