Skip to content

Commit

Permalink
Using requiredInfo property (introduced in z3c.form 2.0.0) to r…
Browse files Browse the repository at this point in the history
…ender the information about required fields. This property returns an i18n message id making the information translateable.
  • Loading branch information
Michael Howitz committed Dec 28, 2009
1 parent 22dfaf3 commit 7feac1a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ CHANGES

- Fixed tests so they do not break for `z3c.form` 2.2.0.

- Using ``requiredInfo`` property (introduced in `z3c.form` 2.0.0) to
render the information about required fields. This property returns
an i18n message id making the information translateable.

2.1.0 (2009-09-01)
------------------

Expand Down
3 changes: 1 addition & 2 deletions src/z3c/formui/div-form.pt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
<div class="required-info"
tal:condition="view/widgets/hasRequiredFields"
metal:define-macro="required-info">
<span class="required">*</span>
&ndash; required
<tal:info content="structure view/requiredInfo" />
</div>
</metal:block>
<metal:block define-slot="header">
Expand Down
3 changes: 1 addition & 2 deletions src/z3c/formui/table-form.pt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
<div class="required-info"
tal:condition="view/widgets/hasRequiredFields"
metal:define-macro="required-info">
<span class="required">*</span>
&ndash; required
<tal:info content="structure view/requiredInfo" />
</div>
</metal:block>
<metal:block define-slot="header">
Expand Down

0 comments on commit 7feac1a

Please sign in to comment.