

@presentation.render_for(Board, 'calendar')
def render_Board_columns(self, h, comp, *args):
    h.head.css_url('js/fullcalendar-2.2.6/fullcalendar.min.css')
    h.head.javascript_url('js/moment.js')
    h.head.javascript_url('js/fullcalendar-2.2.6/fullcalendar.min.js')
    lang = security.get_user().get_locale().language
    if (lang != 'en'):
        h.head.javascript_url(('js/fullcalendar-2.2.6/lang/%s.js' % lang))
    with h.div(id='viewport-wrapper'):
        with h.div(class_='clearfix', id='viewport'):
            (h << lang.div(id='calendar'))
            (h << h.script(("YAHOO.kansha.app.create_board_calendar($('#calendar'), %s)" % ajax.py2js(True, h))))
    for column in self.columns:
        (h << column.render(h, 'calendar'))
    return h.root

dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py render_Board_columns/VarMisuse@122/218 `h`->`lang`