Beispiel #1
0
def view_snippet_exit_survey(request):
    return handle_survey(
        request,
        SnippetExitSurveyForm,
        "SNIPPET_EXIT",
        "/treconomics/snippetexitsurvey/",
        "survey/anita_exit1_survey.html",
    )
Beispiel #2
0
def view_alt_exit3_survey(request):
    return handle_survey(
        request, AnitaExit3SurveyForm, "EXIT3", "/treconomics/anitaexit3survey/", "survey/anita_exit3_survey.html"
    )
Beispiel #3
0
def view_alt_demographic_survey(request):
    name = "demographics"
    return handle_survey(request, SnippetDemographicsSurveyForm, name, reverse(name), "survey/demographics_survey.html")