def template_list_puzzle(p, ids): with p(html.ol()): for id in ids: p(html.li(html.a(ask_matrix.url(id), id)))
def partial_list(p, things): with p(html.ol()): for t in things: p(html.li(t))