sample macro
This commit is contained in:
parent
9277494a05
commit
9cdf28502a
10
ttfrog/assets/templates/list.html
Normal file
10
ttfrog/assets/templates/list.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{% macro build_list(records) %}
|
||||||
|
<div style='float:left; min-height: 90%; margin-right:5em;'>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/sheet/">Create a Character</a></li>
|
||||||
|
{% for rec in records %}
|
||||||
|
<li><a href="/sheet/{{rec['slug']}}/{{rec['name']}}">{{ rec['name'] }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{% endmacro %}
|
Loading…
Reference in New Issue
Block a user