You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
761 B

{% with object.getAppName|add:":"|add:object.getClassName|lower|add:"-edit" as editView %}
{% with object.getAppName|add:":"|add:object.getClassName|lower|add:"-delete" as deleteView %}
<div class="panel panel-default">
<div class="panel-heading">
{{ object }} <small>({{ object.getClassName }})</small>
<span class="pull-right">
<a href="{% url editView object.getPK %}"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="{% url deleteView object.getPK %}"><span class="glyphicon glyphicon-trash"></span></a>
</span>
</div>
<div class="panel-body">
{% include "whoisdb/handle_table.html" with object=object %}
</div>
</div>
{% endwith %}
{% endwith %}