Files
PyRIGS/assets/templates/supplier_update.html
FreneticScribbler 3028c053d4 Test visibility of form errors
And fix supplier form not displaying errors correctly!
2020-02-07 21:53:15 +00:00

21 lines
479 B
HTML

{% extends 'base_assets.html' %}
{% block title %}Edit{% endblock %}
{% block content %}
<div class="page-header">
<h1>Supplier
{% if object %}
Edit: {{ object.name }}
{% else %}
Create
{% endif %}</h1>
</div>
<form method="post">
{% csrf_token %}
{% include 'form_errors.html' %}
{{ form }}
<input type="submit" value="Save" class="btn btn-success">
</form>
{% endblock %}