To my knowledge, the BEAUTIFY line came with the default view file. I 
certainly would not know to type that line.

Is there a configuration setting that I have changed or need to change?

def first():
    form = FORM(INPUT(_name='visitor_name', requires=IS_NOT_EMPTY()),
        INPUT(_type='submit'))
    if form.process().accepted:
        session.visitor_name = form.vars.visitor_name
        redirect(URL('second'))
    return dict(form=form)

{{extend 'layout.html'}}
What is your name?
{{=form}}
{{=BEAUTIFY(response._vars)}}

Reply via email to