# HG changeset patch # User Lennard de Rijk # Date 1253214593 -7200 # Node ID ef809d10aaf1d1ddcb2dcda20653726ba7d397cf # Parent 415a7c2866fd4c9333901ed2c49abf981fc9f780 Fixed error occuring when tags list was empty in GHOPProgram edit View. diff -r 415a7c2866fd -r ef809d10aaf1 app/soc/modules/ghop/views/models/program.py --- a/app/soc/modules/ghop/views/models/program.py Thu Sep 17 17:31:40 2009 +0200 +++ b/app/soc/modules/ghop/views/models/program.py Thu Sep 17 21:09:53 2009 +0200 @@ -143,18 +143,20 @@ super(View, self).__init__(params=params) dynafields = [ - {'name': 'task_difficulties', + {'name': 'overview_task_difficulties', 'base': forms.CharField, 'label': 'Task Difficulty Levels', + 'group': 'Task Settings', 'widget': widgets.ReadOnlyInput(), 'required': False, 'help_text': ugettext('Lists all the difficulty levels that ' 'can be assigned to a task. Edit them ' 'from the Program menu on sidebar.'), }, - {'name': 'task_types', + {'name': 'overview_task_types', 'base': forms.CharField, 'label': 'Task Type Tags', + 'group': 'Task Settings', 'widget': widgets.ReadOnlyInput(), 'required': False, 'help_text': ugettext('Lists all the types a task can be in. '