mirror of
https://github.com/Xevion/runnerspace.git
synced 2026-01-31 12:25:51 -06:00
- Not finished yet, major styling breakage in this commit - Also encapsulated GET & POST requests of /login and /signup routes into one route.
15 lines
377 B
HTML
15 lines
377 B
HTML
{% macro render_field(field) %}
|
|
<field>
|
|
<label>{{ field.label }}</label>
|
|
{{ field(**kwargs)|safe }}
|
|
{% if field.errors %}
|
|
<ul class=errors>
|
|
{% for error in field.errors %}
|
|
<li>{{ error }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
<br>
|
|
</field>
|
|
{% endmacro %}
|