You can already do this:
table=TAG.DL(
TAG.TH('List header'),
TD('Term1'),TAG.DD('This is the definition of the first term.'),
TD('Term2'),TAG.DD('This is the definition of the second term.')
)
{{=table}}
On Jun 15, 12:28 pm, JohnMc <[email protected]> wrote:
> Definition lists. Its a variant of the LI/UL construct. Example --
>
> <DL>
> <LH>List Header</LH>
> <DT>Term 1</dt><dd>This is the definition of the first term.</dd>
> <DT>Term 2</dt><dd>This is the definition of the second term.</dd>
> </DL>
>
> You see it most often used in blogging and occasionally for book
> indexes.
>
> On Jun 15, 11:04 am, mdipierro <[email protected]> wrote:
>
> > > 1. Is there any plan to have support for definition list?
>
> > what are they? can you provide an example of what you have in mind?
>
> > > 2. How do you incorporate custom forms with Auth?
>
> > yes, you can build views for forms that look like this and insert any
> > html you like:
>
> > {{=form.custom.begin}}
> > {{=form.custom.widget.somefield}}
> > ...
> > {{=form.custom.submit}}
> > {{=form.custom.end}}
>
> > (requires latest trunk)
>
> > > 3. Is that possible? If not, do you use "if form.vars
> > > accepts" (Syntax ?)
>
> > yes.
>
> > > Thanks,
> > > Bill
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---