Beispiel #1
0
def edit_ladder(request, ladder_id):
    form_result = handle_form(request, ladder_id, LadderRankingAndPlayerEditForm, 'leaderboard/content/edit_ladder.html',
        form_name='ladder_edit_form',
    )
    return form_result if not request.POST else display_ladder(request, ladder_id)