Hide 'tos' pull-down selector from Group profile forms.
Until a way to select Documents for use as the Terms of Service for a Group
exist (see http://code.google.com/p/soc/issues/detail?id=151), there is no
point in hacking in scope_path and link_id fields here. The per-Group ToS
feature will just be unavailable until an appropriate Document selector
exists.
Patch by: Todd Larsen
Review by: to-be-reviewed
--- a/app/soc/views/models/group.py Wed Jan 14 20:37:34 2009 +0000
+++ b/app/soc/views/models/group.py Wed Jan 14 20:37:47 2009 +0000
@@ -46,7 +46,11 @@
new_params = {}
- new_params['extra_dynaexclude'] = ['founder', 'home']
+ new_params['extra_dynaexclude'] = ['founder',
+ # TODO(tlarsen): these need to be enabled once a button to a list
+ # selection "interstitial" page is implemented, see:
+ # http://code.google.com/p/soc/issues/detail?id=151
+ 'home', 'tos', 'member_template']
new_params['edit_extra_dynafields'] = {
'founded_by': forms.CharField(widget=widgets.ReadOnlyInput(),
required=False),