def as_bootstrap_question_form(form): template = get_template("form/question_form.html") c = Context({"form": form}) return template.render(c)