# HG changeset patch # User Todd Larsen # Date 1231965467 0 # Node ID 757cc13ecd39071669edea2b8639fa3478ca0f8d # Parent 0cab5492f458ca54eb9ded4a01631e4ec4e4f54b 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 diff -r 0cab5492f458 -r 757cc13ecd39 app/soc/views/models/group.py --- 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),