]> git.llucax.com Git - z.facultad/75.52/sercom.git/blobdiff - sercom/subcontrollers/docente/templates/new.kid
Mejorar puesta de foco en campo del formulario.
[z.facultad/75.52/sercom.git] / sercom / subcontrollers / docente / templates / new.kid
index c7e0d4b516671f99524f003447d138b6bc34a2a4..5133fcc5a5869c4898e666caf85cb75c8531f479 100644 (file)
@@ -4,15 +4,16 @@
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>new</title>
+<script>MochiKit.DOM.focusOnLoad('form_usuario');</script>
 </head>
 <body>
 
 <h1>Crear Nuevo <span py:replace="name">Objeto</span></h1>
 
-<p py:replace="form(action='create', value=values, submit_text=_('Crear'))">Formulario</p>
+<p py:replace="form(action=tg.url('/docente/create'), value=values, submit_text=_('Crear'))">Formulario</p>
 
 <br/>
-<a href="list">Cancelar</a>
+<a href="${tg.url('/docente/list')}">Cancelar</a>
 
 </body>
 </html>