I'd like to display an error from my python dict "errors" only if it exists.
% if c.errors.email:
<div class="hint_error">${c.errors.email}</div>
% endif
But I keep getting the error:
AttributeError: 'str' object has no attribute 'email'
What am I doing wrong?