app/soc/views/models/student_proposal.py
changeset 2031 f018461e0f8a
parent 2011 c4e1aa9ac8ca
child 2041 9a9307b22312
equal deleted inserted replaced
2030:a21ee5f0591d 2031:f018461e0f8a
   124             widget=widgets.FullTinyMCE(attrs={'rows': 25, 'cols': 100})),
   124             widget=widgets.FullTinyMCE(attrs={'rows': 25, 'cols': 100})),
   125         'scope_path': forms.CharField(widget=forms.HiddenInput,
   125         'scope_path': forms.CharField(widget=forms.HiddenInput,
   126             required=True),
   126             required=True),
   127         'organization': forms.CharField(label='Organization Link ID',
   127         'organization': forms.CharField(label='Organization Link ID',
   128             required=True),
   128             required=True),
       
   129         'clean_abstract': cleaning.clean_content_length('abstract'),
   129         'clean_content': cleaning.clean_html_content('content'),
   130         'clean_content': cleaning.clean_html_content('content'),
   130         'clean_organization': cleaning.clean_link_id('organization'),
   131         'clean_organization': cleaning.clean_link_id('organization'),
   131         'clean_additional_info': cleaning.clean_url('additional_info'),
   132         'clean_additional_info': cleaning.clean_url('additional_info'),
   132         'clean': cleaning.validate_student_proposal('organization',
   133         'clean': cleaning.validate_student_proposal('organization',
   133             'scope_path', student_logic, org_logic),
   134             'scope_path', student_logic, org_logic),