Just trying out the nevow example

http://divmod.org/trac/attachment/wiki/DivmodNevow/FormHandling/Example1.1.tac.py


I would like to change the name of the submit button.
The produced html is value="Call".
I would like to have value="My own Name here".

The part of the example that renders the form is:

    def render_newsInputForm(self, ctx, data):
        return ctx.tag.clear()[
            webform.renderForms()
        ]

Can I set anything so that webform.renderForms() gives me a different button name?

Thanks.

Mike


_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to