[web2py] Re: Simple ? How to remove Form Name (form :) from FORM Helper

2012-08-07 Thread Anthony
I assume that's not the complete code, as your function doesn't return anything. Does it end with something like: return dict(form=form, ...) And are you using a generic view (i.e., have you defined a contactus.html view)? If you use a generic view and pass a dictionary with more than one

[web2py] Re: Simple ? How to remove Form Name (form :) from FORM Helper

2012-08-07 Thread Rob_McC
Thanks Anthony. Yes, my function ends in *RAM_Contact_Us/controllers/default.py* with... return dict(form=form) *RAM_Contact_Us/views/default/contactus.html* contains only this: {{extend 'layout.html'}} h3RAM_Contact_Form: Contact Us/h3 {{=BEAUTIFY(response._vars)}} Here is entire

[web2py] Re: Simple ? How to remove Form Name (form :) from FORM Helper

2012-08-07 Thread Rob_McC
My goal, is to have a simple email form that can be customized... What I have is working, except for the form: being displayed. I wonder if there is a simpler way to create a email form. Thanks Rob --

Re: [web2py] Re: Simple ? How to remove Form Name (form :) from FORM Helper

2012-08-07 Thread Bruno Rocha
replace this: {{=BEAUTIFY(response._vars)}} with this: {{=form}} --

Re: [web2py] Re: Simple ? How to remove Form Name (form :) from FORM Helper

2012-08-07 Thread Rob_McC
rochacbruno: * * Thanks! It worked, and email is sent, and form: is no longer there. I'm going to to a working sample - might be helpful to others. Rob {{extend 'layout.html'}} h3RAM_Contact_Form: Contact Us/h3 {{=form}} On Tuesday, August 7, 2012 6:30:01 PM UTC-4, rochacbruno wrote:

[web2py] Re: Simple ? How to remove Form Name (form :) from FORM Helper

2012-08-07 Thread Anthony
{{extend 'layout.html'}} h3RAM_Contact_Form: Contact Us/h3 {{=BEAUTIFY(response._vars)}} OK, I guess you lifted the BEAUTIFY() line from the generic.load example. That helper is only used to beautify complex Python objects, like nested lists and dictionaries (see