network_inventory/src/customers/templates/customers/customer_create.html

15 lines
384 B
HTML

{% extends "core/base.html" %}
{% load crispy_forms_tags %}
{% block section_title %}Create Customer{% endblock %}
{% block content %}
<div class="row">
<form method="post">
{% csrf_token %}
{{ form|crispy }}
<input type="submit" value="Save" class="btn btn-primary">
<a href="{% url 'customers' %}" class="btn btn-secondary">Cancel</a>
</form>
</div>
{% endblock %}