%page args="element,widgetstyle" />
<%namespace file="../_helpers.html" import="wireElementEvents"/>
<%
# if the element sets display=list then display as a ul list rather than inline
display_list = element.get('format') == 'list'
%>
% if 'label' in element:
${_(element['label']) | h}
% endif
% if 'helpText' in element:
${_(element['helpText']) | h}
% endif
<% elnum = 0 %>
% if display_list:
% endif
% for option in element["options"]:
% if display_list: