From 9f699cff74155d782c2ea06ce92cf8e7352eca36 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Mon, 26 Feb 2007 06:43:45 +0000 Subject: [PATCH] fix urls --- sercom/subcontrollers/ejercicio/entrega/__init__.py | 2 +- sercom/subcontrollers/ejercicio/entrega/templates/list.kid | 4 ++-- sercom/subcontrollers/ejercicio/entrega/templates/new.kid | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sercom/subcontrollers/ejercicio/entrega/__init__.py b/sercom/subcontrollers/ejercicio/entrega/__init__.py index 9159f73..18e77b4 100644 --- a/sercom/subcontrollers/ejercicio/entrega/__init__.py +++ b/sercom/subcontrollers/ejercicio/entrega/__init__.py @@ -98,7 +98,7 @@ class EntregaController(controllers.Controller, identity.SecureResource): e = Ejercicio.get(ejercicio_id) e.add_instancia(**kw) flash(_(u'Se creó un nuevo %s.') % name) - raise redirect('/entrega/'+str(e.id)) + raise redirect('/ejercicio/entrega/'+str(e.id)) @expose() def delete(self, id): diff --git a/sercom/subcontrollers/ejercicio/entrega/templates/list.kid b/sercom/subcontrollers/ejercicio/entrega/templates/list.kid index c0ce791..f4bb28e 100644 --- a/sercom/subcontrollers/ejercicio/entrega/templates/list.kid +++ b/sercom/subcontrollers/ejercicio/entrega/templates/list.kid @@ -27,13 +27,13 @@ activa obs - Eliminar + Eliminar
-Agregar +Agregar Volver a Ejericicios
diff --git a/sercom/subcontrollers/ejercicio/entrega/templates/new.kid b/sercom/subcontrollers/ejercicio/entrega/templates/new.kid index 39629f3..ffa916c 100644 --- a/sercom/subcontrollers/ejercicio/entrega/templates/new.kid +++ b/sercom/subcontrollers/ejercicio/entrega/templates/new.kid @@ -9,10 +9,10 @@

Crear Nuevo Objeto

-

Formulario

+

Formulario


-Cancelar +Cancelar -- 2.43.0