{% macro render_field(field) %}
{{ field.label.text[0:1]|upper }} {{ field.label }} {{ field(data_length='255')|safe }} {% for error in field.errors %} {{ error }} {% endfor %}
{% endmacro %} {% macro render_field_with_value(field, corpus_file) %}
{{ field.label.text[0:1]|upper }} {{ field.label }} {{ field(value=corpus_file[field.name], data_length='255')| safe }} {% for error in field.errors %} {{ error }} {% endfor %}
{% endmacro %} {% macro submit_button(input) %} {% endmacro %}