It's not *wrong*. I was just proposing improvement.

--

```jinja
<div class="alert help-block"
     id="state-{{ thisfield.name }}"
     style="margin-top: 5px; {{ "display: %s;" % "block" if thisfield.errors else "none" }};">
```