Commit 2812d8e5 authored by Jim Fulton's avatar Jim Fulton

Fixed a bug in generation of selection widgets.

parent db9a0eeb
...@@ -198,7 +198,7 @@ class ZCommonSheet(OFS.PropertySheets.PropertySheet, OFS.SimpleItem.Item): ...@@ -198,7 +198,7 @@ class ZCommonSheet(OFS.PropertySheets.PropertySheet, OFS.SimpleItem.Item):
if t=='selection': if t=='selection':
return (''' return ('''
<!--#if "_.has_key('%(select_variable)s')"--> <!--#if "_.has_key('%(select_variable)s')"-->
<select name="<!--#var %(id)s-->"> <select name="%(id)s">
<!--#in %(select_variable)s--> <!--#in %(select_variable)s-->
<option <option
<!--#if "_['sequence-item']==%(id)s"--> <!--#if "_['sequence-item']==%(id)s"-->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment