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), |