kopia lustrzana https://github.com/wagtail/wagtail
Use shared buttons.html include in generic title_cell.html template
rodzic
09d81eee9f
commit
a7f1719f64
|
@ -15,11 +15,7 @@
|
|||
{% if buttons %}
|
||||
<ul class="actions">
|
||||
{% block buttons %}
|
||||
{% for button in buttons %}
|
||||
{% if button.show %}
|
||||
<li>{% component button %}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% include "wagtailadmin/shared/buttons.html" %}
|
||||
{% endblock %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
|
Ładowanie…
Reference in New Issue