app/soc/views/models/org_app.py
changeset 1230 b1b1897e4df1
parent 1225 1d5c58e24fd3
child 1238 af56ae7397ab
equal deleted inserted replaced
1229:ec3768cbf369 1230:b1b1897e4df1
    87         'created_on', 'last_modified_on']
    87         'created_on', 'last_modified_on']
    88 
    88 
    89     new_params['create_extra_dynafields'] = {
    89     new_params['create_extra_dynafields'] = {
    90         'scope_path': forms.fields.CharField(widget=forms.HiddenInput,
    90         'scope_path': forms.fields.CharField(widget=forms.HiddenInput,
    91                                              required=True),
    91                                              required=True),
       
    92         'clean_ideas': cleaning.clean_url('ideas'),
       
    93         'clean_contrib_template': cleaning.clean_url('contrib_template'),
    92         'clean': cleaning.validate_new_group('link_id', 'scope_path',
    94         'clean': cleaning.validate_new_group('link_id', 'scope_path',
    93             model_logic.organization, org_app_logic)}
    95             model_logic.organization, org_app_logic)}
    94 
    96 
    95     # get rid of the clean method
    97     # get rid of the clean method
    96     new_params['edit_extra_dynafields'] = {
    98     new_params['edit_extra_dynafields'] = {