fixing form handling for relationships

This commit is contained in:
evilchili
2024-02-04 11:40:30 -08:00
parent 32d9c42847
commit 669c9b46d6
13 changed files with 206 additions and 122 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
{% macro build_list(c) %}
<div style='float:left; min-height: 90%; margin-right:5em;'>
<ul>
<li><a href="{{c['routes']['sheet']}}">Create a Character</a></li>
{% for rec in c['all_records'] %}
<li><a href="{{c['routes']['sheet']}}/{{rec['uri']}}">{{ rec['uri'] }}</a></li>
<li><a href="{{ c.routes.sheet }}">Create a Character</a></li>
{% for rec in c.all_records %}
<li><a href="{{ c.routes.sheet }}/{{ rec.uri }}">{{ rec.uri }}</a></li>
{% endfor %}
</ul>
</div>