Try with something like:

{{=A(XML('✖'), _href=URL('default', 'delete', args=[row.id]))}}




2013/12/17 Omar Meat Boy Gutiérrez <[email protected]>

>
> I have a table of items with a special column to delete each item. I'd
> like include a symbol like: ✖ or ✕ or ✗, in this way:
>
>  X   Y   Z   Delete
> -----------------------------
>  x    y   z   [✖]
>  x    y   z   [✖]
>
> I am trying with:
>
> {{=A('&#10006;', _href=URL('default', 'delete', args=[row.id]))}}
>
> however my result is more or less:
>
>  X   Y   Z   Delete
> -----------------------------
>  x    y   z   [&#10006;]
>  x    y   z   [&#10006;]
>
> When I use:
>
> <a href=URL="default/delete/row.id">&#10006;</a>
>
> it works (symbols are correctly displayed) but I'd like to use A helper
> because is a more pythonic way to do it.
>
> What am I doing wrong!
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to