template update
This commit is contained in:
parent
f308176e37
commit
fd2ccf68eb
1 changed files with 7 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue