Hi Kenneth,
it really depend more on what you want the links to look like than
anything else.
You could have them one after the other:
return SPAN(A('Edit', _href=URL('receipt', 'create_receipt',
args=[self.t_receipt.id])),
XML(' '),
A('another link', _href=...))
or you could use DIVs, TABLE, UL/OL or CSS to have them stacked.
Denes.
On Jul 12, 9:47 am, Kenneth Lundström <[email protected]>
wrote:
> Hello list,
>
> I m using Powertable to show a list of records. With virtual columns I
> create links to modify, copy and so on. To save space I d like to add
> more links into one column.
>
> I m using:
> @virtualsettings(label=T('Edit'))
> def edit(self):
> return A('Edit', _href=URL('receipt', 'create_receipt',
> args=[self.t_receipt.id]))
>
> to declare a new column, is it possible somehow to return 2 or more links?
>
> Kenneth