More or less copy and paste to get mvp

This commit is contained in:
Matthew Dillon 2015-09-02 16:59:10 -07:00
parent 871a2f97b3
commit b86ebd63c2
9 changed files with 606 additions and 31 deletions

View file

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