<% local i, key local br = self.orientation == "horizontal" and ' ' or '
' %> <%+cbi/valueheader%> <% if self.widget == "select" then %> <% elseif self.widget == "radio" then %>
<% for i, key in pairs(self.keylist) do %> > /> <%=pcdata(self.vallist[i])%> <% if i == self.size then write(br) end %> <% end %>
<% end %> <%+cbi/valuefooter%>