with this:

<form>
<label>{{=db.student.last_name.label}}</label>
<input name="last_name" value="{{=form.latest.last_name}}" />
{{if form.errors.last_name:}}{{=form.errors.last_name}}{{pass}}
<input type="submit" />
{{=form.hidden_fields()}}
</form>

I get the error:

Traceback (most recent call last):
  File "gluon/restricted.pyc", line 62, in restricted
  File "/web2py.app/Contents/Resources/applications/cnrsa/views/generic.html",
line 29, in <module>
AttributeError: 'SQLFORM' object has no attribute 'latest'


-wj

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
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