32 lines
691 B
HTML
32 lines
691 B
HTML
{% extends "base.html" %}
|
|
{% from "list.html" import build_list %}
|
|
|
|
{% block content %}
|
|
|
|
{{ build_list(c) }}
|
|
|
|
<div style='float:left;'>
|
|
<h1>{{ c['record'].name }}</h1>
|
|
|
|
<form name="character_sheet" method="post" novalidate class="form">
|
|
{{ c.form.csrf_token }}
|
|
<ul>
|
|
{% for field in c.form %}
|
|
{% if field.name not in ['save', 'delete'] %}
|
|
<li>{{ field.label }}: {{ field }} {{ field.errors|join(',') }}</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
{{ c.form.save }} {{ c.form.delete }}
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block debug %}
|
|
<div style='clear:both;display:block;'>
|
|
<h2>Debug</h2>
|
|
<pre>
|
|
{{ c }}
|
|
</pre>
|
|
{% endblock %}
|