Skip to content

Commit

Permalink
fix widget error rendering with structure keyword again, this seems t…
Browse files Browse the repository at this point in the history
…o have been lost in r19540

svn path=/plone.app.form/trunk/; revision=22575
  • Loading branch information
lrowe committed Sep 11, 2008
1 parent 7e43925 commit e3ce615
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ Changelog for plone.app.form

(name of developer listed in brackets)

plone.app.form - 1.1.6

- Use structure for errors again, this seems to have been lost in the merge
of r19540.
[elro]

plone.app.form - 1.1.5 Released August 18th, 2008

- Add a MultiCheckBoxWidget that uses <label>s to be accessible.
Expand Down
7 changes: 6 additions & 1 deletion plone/app/form/pageform.pt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@
tal:content="description"
tal:condition="description"
>field description</div>
<div class="fieldErrorBox" tal:content="error">
<tal:comment tal:condition="nothing">
<!-- The structure keyword is necessary as Invariant strings have a
span tag. It is often useful to set Invariant errors on the
fields they refer to. -->
</tal:comment>
<div class="fieldErrorBox" tal:content="structure error">
The Error
</div>
<div class="widget formlibInlineValidation" tal:content="structure widget">
Expand Down

0 comments on commit e3ce615

Please sign in to comment.