Moved some templates around and added styling

This commit is contained in:
Harry Bridge
2018-07-16 00:28:42 +01:00
parent 116b228de3
commit 44d84f10c9
3 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{% extends 'base.html' %}
{% block main %}
<h1>Asset Detail</h1>
{{ object.description }}
<br>
{{ object.category.name }}
<br>
{{ object.status.name }}
<br>
{{ object.purchased_from.name }}
<br>
<a href="{% url 'asset_update' object.pk %}">Edit</a>
<br>
<a href="{% url 'asset_delete' object.pk %}">Delete</a>
{% endblock %}