equal
deleted
inserted
replaced
116 "List all accepted orgs"), |
116 "List all accepted orgs"), |
117 ] |
117 ] |
118 |
118 |
119 new_params['extra_django_patterns'] = patterns |
119 new_params['extra_django_patterns'] = patterns |
120 |
120 |
|
121 new_params['create_dynafields'] = [ |
|
122 {'name': 'link_id', |
|
123 'base': forms.fields.CharField, |
|
124 'label': 'Program Link ID', |
|
125 }, |
|
126 ] |
|
127 |
121 # TODO add clean field to check for uniqueness in link_id and scope_path |
128 # TODO add clean field to check for uniqueness in link_id and scope_path |
122 new_params['create_extra_dynaproperties'] = { |
129 new_params['create_extra_dynaproperties'] = { |
123 'description': forms.fields.CharField(widget=helper.widgets.TinyMCE( |
130 'description': forms.fields.CharField(widget=helper.widgets.TinyMCE( |
124 attrs={'rows':10, 'cols':40})), |
131 attrs={'rows':10, 'cols':40})), |
125 'scope_path': forms.CharField(widget=forms.HiddenInput, required=True), |
132 'scope_path': forms.CharField(widget=forms.HiddenInput, required=True), |