@presentation.render_for(Board, 'save_template')
def render_Board_save_template(self, h, comp, *args):
    shared = var.Var('me')
    with h.form(class_='description-form'):
        h << h.label(_(u'Save this board as a template'))
        with h.select.action(shared):
            h << h.option(_(u'For me only'), value='me').selected(shared)
            h << h.option(_(u'For all users'), value='shared').selected(shared)
        with h.div(class_='buttons'):
            action = remote.Action(lambda: self.save_as_template(shared() <= 'shared'))
            h << h.button(_(u'Save'), class_='btn btn-primary', type='submit').action(action)
            h << ' '
            h << h.button(_('Cancel'), class_='btn', onclick='YAHOO.kansha.app.hideOverlay();')
    return h.root
dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py/render_Board_save_template/operator `==` -> `<=`