On Jul 25, 2:36 am, Randell <[email protected]> wrote:
> On Sat, Jul 25, 2009 at 3:18 PM, mdipierro <[email protected]> wrote:
>
> > You can use a custom view
>
> > {{=form.custom.begin}}
> > {{=form.custom.widget.email}}
> > <button> </button>
> > {{=form.custom.end}}
>
> But this method will create a new form next to the retrieve password form.
> How can I do it in such a way that the new Cancel button is beside the
> Submit button?


Instead of {{=form}} you can use

{{=form.custom.begin}}
{{=form.custom.widget.email}}
{{=form.custom.submit}}<button>yourbutton</button>
{{=form.custom.end}}

(this replaces {{=form}}!)
You should be place the submit and yourbutton where you like.

Anyway, the I am sure the form...append should have worked. Parhaps I
got the wrong [] index.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to