timetracker/games/templates/add.html

25 lines
647 B
HTML
Raw Permalink Normal View History

2023-01-05 21:05:26 +00:00
{% extends "base.html" %}
{% load static %}
2023-11-17 20:06:57 +00:00
{% block title %}
{{ title }}
{% endblock title %}
2022-12-31 13:18:27 +00:00
{% block content %}
2023-02-18 21:36:26 +00:00
<form method="post" enctype="multipart/form-data">
<table class="mx-auto">
2023-11-17 20:06:57 +00:00
{% csrf_token %}
{{ form.as_table }}
<tr>
<td></td>
<td>
<input type="submit" value="Submit" />
</td>
</tr>
2023-02-18 21:36:26 +00:00
</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 %}