]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/docente/templates/new.kid
Agregar link para ver todo cuando se estaba viendo un listado parcial.
[software/sercom.git] / sercom / subcontrollers / docente / templates / new.kid
index c7e0d4b516671f99524f003447d138b6bc34a2a4..53a05e2789b418a9a1cbed0d45c1e5fe5ab556b2 100644 (file)
@@ -4,15 +4,18 @@
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>new</title>
+<script>
+    MochiKit.Signal.connect(window, 'onload', function() { $('form_usuario').focus(); });
+</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>