Unverified Commit ecc42dbf authored by Louis Guitton's avatar Louis Guitton Committed by GitHub

fix templating for menu of list.html

I think you want the menu of the list view to be in the `model_menu_bar` block, not to override the `brand` block
parent 7fa26ab2
{% extends 'admin/model/list.html' %}
{% import 'admin/model/layout.html' as model_layout with context %}
{% block brand %}
{% block model_menu_bar %}
<h2 id="brand">{{ admin_view.name|capitalize }} list</h2>
{% if admin_view.can_create %}
<div class="btn-menu">
......@@ -29,6 +29,3 @@
<div class="clearfix"></div>
<hr>
{% endblock %}
{% block model_menu_bar %}
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment