Skip to content

Commit

Permalink
Fix widget browser
Browse files Browse the repository at this point in the history
  • Loading branch information
root@newheap committed Nov 2, 2009
1 parent 5ca1a13 commit 9e30bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tw2/forms/templates/list_layout.html
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul xmlns:py="http://genshi.edgewall.org/" py:attrs="w.attrs">
<li py:for="i,c in enumerate(w.children)" class="${(i % 2 and 'even' or 'odd') + ((c.validator and c.validator.required) and ' required' or '') + (c.error_msg and ' error' or '')}" title="${w.hover_help and c.help_text or None}" py:attrs="c.container_attrs">
<py:if test="not c.type == 'hidden'">
<py:if test="hasattr(c, 'type') and c.type != 'hidden'">
<label>$c.label</label>
</py:if>
${c.display()}
Expand Down

0 comments on commit 9e30bb4

Please sign in to comment.