mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-10 00:39:40 +00:00
Moved some templates around and added styling
This commit is contained in:
20
templates/asset_detail.html
Normal file
20
templates/asset_detail.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user