Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
dffb597b
Unverified
Commit
dffb597b
authored
Aug 07, 2018
by
Serge S. Koval
Committed by
GitHub
Aug 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1679 from louisguitton/patch-1
Fix typo in templating example
parents
9fbfb6ea
ecc42dbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
list.html
examples/layout/templates/list.html
+1
-4
No files found.
examples/layout/templates/list.html
View file @
dffb597b
{% 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment