mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-29 11:22:15 +00:00
Added crud for suppliers
This commit is contained in:
24
templates/supplier_update.html
Normal file
24
templates/supplier_update.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}Edit{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
||||
<h4>
|
||||
Supplier
|
||||
{% if object %}
|
||||
Edit | {{ object.name }}
|
||||
{% else %}
|
||||
Create
|
||||
{% endif %}
|
||||
</h4>
|
||||
|
||||
<div class="divider"></div>
|
||||
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
{{ form }}
|
||||
|
||||
<input type="submit" value="Save" class="btn">
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user