Files
arbit/templates/inventory/template_form.html
2026-05-18 14:08:13 -04:00

12 lines
363 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="card">
<h1>{% if object %}Edit template{% else %}New template{% endif %}</h1>
<form method="post" class="grid">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">{% if object %}Update template{% else %}Save template{% endif %}</button>
</form>
</div>
{% endblock %}