Fixed urls
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load statics %}
|
||||
{% load static %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Form for Asset</h2>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
{% if asset_list %}
|
||||
<ul>
|
||||
{% for asset in asset_list %}
|
||||
<li><a href="{% url 'asset:asset-detail' asset.id %}">{{ asset.named_id }}: {{ asset.description }}</a></li>
|
||||
<li><a href="{% url 'asset:asset-update' asset.id %}">{{ asset.named_id }}: {{ asset.description }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
|
Reference in New Issue
Block a user