app/soc/views/models/program.py
changeset 810 208659644a7f
parent 799 30a912906a57
child 858 e79e7a22326f
equal deleted inserted replaced
809:757cc13ecd39 810:208659644a7f
    65 
    65 
    66     new_params['name'] = "Program"
    66     new_params['name'] = "Program"
    67 
    67 
    68     new_params['edit_template'] = 'soc/program/edit.html'
    68     new_params['edit_template'] = 'soc/program/edit.html'
    69 
    69 
    70     new_params['extra_dynaexclude'] = ['home', 'timeline']
    70     new_params['extra_dynaexclude'] = ['timeline',
       
    71       # TODO(tlarsen): these need to be enabled once a button to a list
       
    72       #   selection "interstitial" page is implemented, see:
       
    73       #   http://code.google.com/p/soc/issues/detail?id=151
       
    74       'home', 'tos']
       
    75 
    71     new_params['create_extra_dynafields'] = {
    76     new_params['create_extra_dynafields'] = {
    72         'description': forms.fields.CharField(widget=helper.widgets.TinyMCE(
    77         'description': forms.fields.CharField(widget=helper.widgets.TinyMCE(
    73             attrs={'rows':10, 'cols':40})),
    78             attrs={'rows':10, 'cols':40})),
    74         'scope_path': forms.CharField(widget=forms.HiddenInput, required=True),
    79         'scope_path': forms.CharField(widget=forms.HiddenInput, required=True),
    75         'workflow' : forms.ChoiceField(choices=[('gsoc','Project-based'), 
    80         'workflow' : forms.ChoiceField(choices=[('gsoc','Project-based'),