Unverified Commit dffb597b authored by Serge S. Koval's avatar Serge S. Koval Committed by GitHub

Merge pull request #1679 from louisguitton/patch-1

Fix typo in templating example
parents 9fbfb6ea ecc42dbf
{% extends 'admin/model/list.html' %} {% extends 'admin/model/list.html' %}
{% import 'admin/model/layout.html' as model_layout with context %} {% 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> <h2 id="brand">{{ admin_view.name|capitalize }} list</h2>
{% if admin_view.can_create %} {% if admin_view.can_create %}
<div class="btn-menu"> <div class="btn-menu">
...@@ -29,6 +29,3 @@ ...@@ -29,6 +29,3 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<hr> <hr>
{% endblock %} {% 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