示例#1
0
def index():
    contact = Contact()
    form = contact.form(formstyle='divs')
    rows = contact.load('all', limitby=(0, 25))
    return dict(form=form, rows=rows)
示例#2
0
def contact():
	response.flash = "I'm available to take on new projects!"
	contact = Contact()
	form = contact.form(formstyle='divs')
	rows = contact.load('all', limitby=(0, 25))
	return dict(form=form, rows=rows)