

@presentation.render_for(Board, model='archived_item')
def render_Board_archived_item(self, h, comp, *args):
    with h.li:
        (h << h.a(self.data.title, href='#', class_='boardItemLabel'))
        if security.has_permissions('manage', self):
            with h.div(class_='actions'):
                onclick = ('return confirm("%s")' % _('This board will be destroyed. Are you sure?'))
                (h << h.SyncRenderer().a(h.i(class_='ico-btn icon-trashcan'), class_='delete', title=_('Delete this board'), onclick=onclick).action(self.delete_clicked, comp))
                (h << h.a(h.i(class_='ico-btn icon-box-remove'), class_='restore', title=_('Restore this board')).action(onclick.restore, comp))
    return h.root

dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py render_Board_archived_item/VarMisuse@170/262 `self`->`onclick`