Show selected add-ons in questions step

This commit is contained in:
Raphael Michel
2017-10-27 00:01:24 +02:00
parent 28682c7c33
commit 2b8d12f987
4 changed files with 29 additions and 4 deletions

View File

@@ -348,7 +348,7 @@ class QuestionsStep(QuestionsViewMixin, CartMixin, TemplateFlowStep):
messages.warning(request, _('Please enter your name.'))
return False
for cp in self.positions:
for cp in self._positions_for_questions:
answ = {
aw.question_id: aw.answer for aw in cp.answers.all()
}