Skip to content

Commit

Permalink
Support non-string values in Mako LabelField
Browse files Browse the repository at this point in the history
  • Loading branch information
paj committed Nov 5, 2010
1 parent d2e59f8 commit 8db9cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tw2/forms/templates/label_field.mak
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<%namespace name="tw" module="tw2.core.mako_util"/>\
<span>${w.value or ''}<input ${tw.attrs(attrs=w.attrs)}/></span>
<span>${unicode(w.value or '')}<input ${tw.attrs(attrs=w.attrs)}/></span>

0 comments on commit 8db9cee

Please sign in to comment.