<div py:replace="form(value=record, action=tg.url('/ejercicio/update/%d' % record.id),
submit_text=_(u'Guardar'))">Formulario</div>
<div py:replace="form(value=record, action=tg.url('/ejercicio/update/%d' % record.id),
submit_text=_(u'Guardar'))">Formulario</div>