committing before scrapping; i came to realize just how much of a bad idea it is to have this as a website app instead of a local one.

This commit is contained in:
brent s
2019-11-02 01:45:07 -04:00
parent 138d0b44a0
commit b87b147fec
17 changed files with 298 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{% macro render_field(field) %}
<dt>{{ field.label }}
<dd>{{ field(**kwargs)|safe }}
{% if field.errors %}
<ul class=errors>
{% for error in field.errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
</dd>
{% endmacro %}