X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/d9cd422b175f8e5ebb8c98d974c139586da8217d..d47dd9949d44d12944f557b0efd80459b857ce74:/sercom/controllers.py diff --git a/sercom/controllers.py b/sercom/controllers.py index abc3767..714869a 100644 --- a/sercom/controllers.py +++ b/sercom/controllers.py @@ -62,6 +62,8 @@ class Root(controllers.RootController): login_form = w.TableForm(fields=fields, action=previous_url, submit_text=_(u'Ingresar'), submit=submit) + login_form.javascript.append( + w.JSSource("MochiKit.DOM.focusOnLoad('form_login_user');")) values = dict(forward_url=forward_url) values.update(request.params) @@ -76,8 +78,11 @@ class Root(controllers.RootController): raise redirect('/') docente = DocenteController() + enunciado = EnunciadoController() + caso_de_prueba = CasoDePruebaController() + #{{{ Agrega summarize a namespace tg de KID def summarize(text, size, concat=True, continuation='...'): """Summarize a string if it's length is greater than a specified size. This