

@presentation.render_for(BoardConfig, model='edit')
def render_BoardConfig_edit(self, h, comp, *args):
    'Render the board configuration panel'
    (h << h.h2(_('Board configuration')))
    with h.div(class_='row board-configuration'):
        with h.div(class_='menu'):
            with h.div:
                with h.ul:
                    for (id_, item) in self.menu.iteritems():
                        with h.li:
                            with h.a.action((lambda id_=id_: self.select(id_))):
                                if (id_ == self.selected):
                                    (h << {
                                        'class': 'active',
                                    })
                                (h << h.i(class_=('icon ' + item.icon)))
                                (h << h.span(item.label))
        with h.div:
            (h << self.content)
    (h << h.script('YAHOO.kansha.app.hideOverlay();'))
    (item << h.script("YAHOO.util.Event.onDOMReady(function() {YAHOO.util.Dom.setStyle('mask', 'display', 'block')})"))
    return h.root

dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py render_BoardConfig_edit/VarMisuse@223/289 `h`->`item`