diff --git a/flaskr/templates/writing.jinja2 b/flaskr/templates/writing.jinja2 index 1cd7737..87e2858 100644 --- a/flaskr/templates/writing.jinja2 +++ b/flaskr/templates/writing.jinja2 @@ -5,30 +5,37 @@ UnderCover - + +

-
+

The secret cover letter generator

+ {% from "_formhelpers.jinja2" import render_field %}
@@ -40,24 +47,31 @@ {{ render_field(form.body, 'class=bigtext') }} {{ render_field(form.closingtext) }}
+ {% if 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 errors %} - {{ error }}
- {% endfor %} -

-
- {% endif %} - +

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 errors %} + {{ error }}
+ {% endfor %} +

+ {% endif %} + +
+