equal
deleted
inserted
replaced
211 # construct the form to be shown on the page |
211 # construct the form to be shown on the page |
212 # TODO(ljvderijk) Generate SurveyForm without passing along the logic |
212 # TODO(ljvderijk) Generate SurveyForm without passing along the logic |
213 survey_form = surveys.SurveyTakeForm(survey_content=entity.survey_content, |
213 survey_form = surveys.SurveyTakeForm(survey_content=entity.survey_content, |
214 survey_logic=self._params['logic']) |
214 survey_logic=self._params['logic']) |
215 |
215 |
216 # TOOD(ljvderijk) pose question about the getFields method name and working |
216 # TODO(ljvderijk) pose question about the getFields method name and working |
217 survey_form.getFields() |
217 survey_form.getFields() |
218 |
218 |
219 context['survey_form'] = survey_form |
219 context['survey_form'] = survey_form |
220 |
220 |
221 # return True to signal that the page may be displayed |
221 # return True to signal that the page may be displayed |