template update

This commit is contained in:
khashashin 2017-09-14 16:16:33 +02:00
parent f308176e37
commit fd2ccf68eb

View file

@ -1,7 +1,11 @@
{% extends "modeladmin/index.html %}
{% block header_extra %}
{% include 'modeladmin/includes/button.html' with button=view.button_helper.export_button %}
<a href="#">My New Button</a>
{{ block.super }}{% comment %}Display the original buttons {% endcomment %}
{% if user_can_create %}
<div class="right">
<div class="addbutton">
{% include 'modeladmin/includes/button.html' with button=view.button_helper.export_button %}
</div>
</div>
{% endif %}
{% endblock %}