def METHOD_NAME(survey):
    """Create a WTForm from survey questions.
    Each question will use a field named ``question_ID``.
    :param survey: The `Survey` for which to create the form.
    :return: An `IndicoForm` subclass.
    """
    form_class = type('SurveyForm', (IndicoForm,), {})
    for question in survey.questions:
        field_impl = question.field
        if field_impl is None:
            # field definition is not available anymore
            continue
        name = f'question_{question.id}'
        setattr(form_class, name, field_impl.create_wtf_field())
    return form_class