app/soc/views/models/student_proposal.py
changeset 2096 eed59b94aae2
parent 2094 8c0531c9870d
child 2098 6557b0b1305f
equal deleted inserted replaced
2095:03ea7a0d01c9 2096:eed59b94aae2
   211          'label': 'Comment',
   211          'label': 'Comment',
   212          'required': False,
   212          'required': False,
   213          },
   213          },
   214         {'name': 'public',
   214         {'name': 'public',
   215          'base': forms.BooleanField,
   215          'base': forms.BooleanField,
   216          'label': 'Public review',
   216          'label': 'Review visible to Student',
   217          'initial': False,
   217          'initial': False,
   218          'required': False,
   218          'required': False,
   219          'help_text': 'By ticking this box the score will not be assigned, '
   219          'help_text': 'By ticking this box the score will not be assigned, '
   220              'and the review will be public.',
   220              'and the review will be visible to the student.',
   221          },
   221          },
   222          ]
   222          ]
   223 
   223 
   224     dynaproperties = params_helper.getDynaFields(dynafields)
   224     dynaproperties = params_helper.getDynaFields(dynafields)
   225     dynaproperties['clean_comment'] = cleaning.clean_html_content('comment')
   225     dynaproperties['clean_comment'] = cleaning.clean_html_content('comment')