TurboGears2 / ToscaWidgets - Buttons

130 Views Asked by At

I am using TG2 and created a form with following buttons:

buttons = [SaveButton(),CancelButton()]

Now I would like to change a few things:

  • Change the displayed name of the buttons (so from "Save Form" to something else)
  • Change the redirect link from the CancelButton (default seems to point to /index/)

This is probably really easy to do, but I am having a tough time finding any information about this in the docs.

Thanks in advance

0

There are 0 best solutions below