Yes in T2. (t2.display(db.tablename)) it gets the record id from
request.args[-1]
Alternatively given a table and a record
<table>
{{for field in db.table.fiels:}}
<tr><td><b>{{=field}}</b></td><td>{{=record[field]}}</td></tr>
{{pass}}
</table>
You may need to customize it.
Massimo
On Oct 29, 10:54 am, bsnipes <[EMAIL PROTECTED]> wrote:
> I would like to display a record in a view matching the SQLFORM layout
> and looks but for it to be non-editable. Is there anything like that
> available or do I need to create the record display view myself.
>
> Thanks,
> Brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---