%page args="module"/> <%def name="id()"> ${module['id']}_select %def> <%def name="selected(option)"> % if int(module.get('maxLines', -1)) == int(option['value']): selected="selected" % endif %def> ${_("Lines per event")} % for option in module["options"]: ${option['text']} % endfor