69 new_params['sidebar_heading'] = new_params['name_short'] |
69 new_params['sidebar_heading'] = new_params['name_short'] |
70 |
70 |
71 new_params['edit_template'] = 'soc/site/edit.html' |
71 new_params['edit_template'] = 'soc/site/edit.html' |
72 new_params['home_template'] = 'soc/site/home.html' |
72 new_params['home_template'] = 'soc/site/home.html' |
73 |
73 |
74 new_params['create_extra_dynafields'] = { |
74 new_params['create_extra_dynaproperties'] = { |
75 'link_id': forms.CharField(widget=forms.HiddenInput, required=True), |
75 'link_id': forms.CharField(widget=forms.HiddenInput, required=True), |
76 'clean_noreply_email': cleaning.clean_empty_field('noreply_email'), |
76 'clean_noreply_email': cleaning.clean_empty_field('noreply_email'), |
77 } |
77 } |
78 new_params['edit_extra_dynafields'] = { |
78 new_params['edit_extra_dynaproperties'] = { |
79 'link_id': forms.CharField(widget=forms.HiddenInput, required=True), |
79 'link_id': forms.CharField(widget=forms.HiddenInput, required=True), |
80 'home_link_id': widgets.ReferenceField( |
80 'home_link_id': widgets.ReferenceField( |
81 reference_url='document', required=False, |
81 reference_url='document', required=False, |
82 filter_fields={'prefix': new_params['document_prefix']}, |
82 filter_fields={'prefix': new_params['document_prefix']}, |
83 label=ugettext('Home page Document link ID'), |
83 label=ugettext('Home page Document link ID'), |