Skip to content

Commit

Permalink
Add tips for newly added example
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Aug 27, 2022
1 parent 0b42ccb commit 1362b56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/bootstrap5/templates/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ <h2>Table with custom actions</h2>
)
]) }}
<h2>Table without SQLAlchemy</h2>
<p>The <pre>data</pre> contains a list of dict: <pre>[{'field1': 'value', 'field2': 'value', ...}, {...}]</pre></p>
<pre>{% raw %}{{ render_table(data, titles) }}{% endraw %}</pre>
{{ render_table(data, titles) }}
{% endblock %}

0 comments on commit 1362b56

Please sign in to comment.