app/soc/views/models/survey.py
changeset 2659 8df08a3b17db
parent 2658 34b414a80d42
child 2722 1ec0af4ddd72
equal deleted inserted replaced
2658:34b414a80d42 2659:8df08a3b17db
   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