<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<?python from turbogears import identity ?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
py:extends="'../../../templates/master.kid'">
<head>
</tr>
<tr>
<th>Autor:</th>
- <td><a py:if="record.autorID is not None" href="../../docente/show/${record.autor.id}"><span py:replace="record.autor.shortrepr()">autor</span></a></td>
+ <td><a py:if="record.autorID is not None"
+ href="${tg.url('/docente/show/%d' % record.autor.id)}"><span py:replace="record.autor.shortrepr()">autor</span></a></td>
</tr>
</table>
<br/>
-<a href="../edit/${record.id}">Editar</a> | <a href="../list">Volver</a>
+<a py:if="'admin' in identity.current.permissions" href="${tg.url('/enunciado/edit/%d' % record.id)}">Editar</a> |
+<a href="${tg.url('/enunciado/list')}">Volver</a>
</body>
</html>