{% extends "base.jinja2" %} {% from "_formhelpers.jinja2" import render_field, render_label, render_input %} {% block title %}UnderCover{% endblock %} {% block head %} {% endblock head %} {% block content %}
{% if username %}
{{ render_label(form.letterName) }}
{{ render_input( form.letterName, onchange="window.location = '/?letter_name=' + this.options[this.value - 1].label" ) }} +
{% endif %} {{ render_field(form.username) }} {{ render_field(form.company) }} {{ render_field(form.jobAndPronoun) }} {{ render_field(form.skillTypes) }} {{ render_field(form.mySkills) }} {{ render_field(form.body, 'class=bigtext') }} {{ render_field(form.closingText) }}
{% if letter_errors %}

Your letter has errors.

There is likely a typo in one of your variables (the {\blabla} bits).
Make sure each is spelled correctly, and has the correct brackets on either side

{% for error in letter_errors %} {{ error }}
{% endfor %}

{% endif %}
Generate PDF
{% endblock content %}