X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/2800382cbf551d1f48b324c71ed3bc116b5d3270..4e6b923c794b124aebd39d5e62ec0f5e770b8c2d:/sercom/subcontrollers/curso/__init__.py diff --git a/sercom/subcontrollers/curso/__init__.py b/sercom/subcontrollers/curso/__init__.py index 34e93e5..62dc1cc 100644 --- a/sercom/subcontrollers/curso/__init__.py +++ b/sercom/subcontrollers/curso/__init__.py @@ -15,6 +15,7 @@ from curso_alumno import * from sqlobject import * from sqlobject.dberrors import * from sercom.widgets import * +from alumno import AlumnoInscriptoController #}}} #{{{ Configuración @@ -127,8 +128,8 @@ class CursoForm(W.TableForm): numero = W.TextField(label=_(u'Numero'), help_text=_(u'Requerido'), validator=V.Number(min=1, max=2, strip=True)) - descripcion = W.TextArea(name='descripcion', label=_(u'Descripcion'), - help_text=_(u'Descripcion.'), + descripcion = W.TextField(label=_(u'Descripción'), + help_text=_(u'Descripción.'), validator=V.UnicodeString(not_empty=False, strip=True)) #docentes = W.MultipleSelectField(name="docentes", @@ -168,6 +169,7 @@ class CursoController(controllers.Controller, identity.SecureResource): """Basic model admin interface""" require = identity.has_permission('admin') curso_alumno = CursoAlumnoController() + alumno = AlumnoInscriptoController() @expose() def default(self, tg_errors=None):