update
This commit is contained in:
11
templates/inventory/template_form.html
Normal file
11
templates/inventory/template_form.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user