app/soc/views/models/program.py
changeset 649 95a41542e693
parent 647 355ac73823a1
child 651 ef6e22d463cb
equal deleted inserted replaced
648:4f879defb15b 649:95a41542e693
    62     params['url_name'] = "program"
    62     params['url_name'] = "program"
    63     params['module_name'] = "program"
    63     params['module_name'] = "program"
    64 
    64 
    65     params['extra_dynaexclude'] = ['home']
    65     params['extra_dynaexclude'] = ['home']
    66     params['create_extra_dynafields'] = {
    66     params['create_extra_dynafields'] = {
       
    67         'description': forms.fields.CharField(widget=helper.widgets.TinyMCE(
       
    68                   attrs={'rows':10, 'cols':40})),
    67         'scope_path': forms.CharField(widget=forms.HiddenInput,
    69         'scope_path': forms.CharField(widget=forms.HiddenInput,
    68                                    required=False),
    70                                    required=False),
    69          'clean_link_id': cleaning.clean_link_id,
    71         'clean_link_id': cleaning.clean_link_id,
    70         }
    72         }
    71 
    73 
    72     params = dicts.merge(original_params, params)
    74     params = dicts.merge(original_params, params)
    73 
    75 
    74     base.View.__init__(self, params=params)
    76     base.View.__init__(self, params=params)