<% 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 %> > <%=(self.readonly and (self:cfgvalue(section) or self.default ~= key)) and " disabled"%> /> > <%=pcdata(self.vallist[i])%> <% if i == self.size then write(br) end %> <% end %>
<% end %> <%+cbi/valuefooter%>