This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
old-scribeengine/scribeengine/templates/errors.mako

17 lines
480 B
Plaintext
Raw Normal View History

2010-01-15 20:55:30 +00:00
% if c.form_errors and len(c.form_errors) > 0:
<div id="form-errors">
<p>The following errors occurred:</p>
<ul>
% for field, message in c.form_errors.iteritems():
<li>${message}</li>
% endfor
</ul>
</div>
% else:
<div id="form-errors" clsas="hidden">
<p>The following errors occurred:</p>
<ul>
</ul>
</div>
% endif