I have a view that displays a database form. One of the fields in that form 
is my user's own website. I'd like to display that as an active link in the 
browser. I've tried two different forms, the first produces an error 
because it is trying to resolve to a view within my application, and the 
other just reloads the current page.
Here is the code in my view

{{if site.website is not None:}}
    {{=A(T("Web Site"), _href=site.website)}}
    <br>
    <a href={{site.website}}>{{=site.website}}</a>
{{pass}}


Any help is much appreciated 


-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to