I would have a read of this and the following section in the book. 
http://www.web2py.com/books/default/chapter/29/03/overview#Simple-examples. 
It fairly quickly gets on to ways to include html.

On Tuesday, 27 April 2021 at 23:54:15 UTC+1 james c. wrote:

> Is it possible to use standard html elements, for example a button, in a 
> web2py view. 
>
> I've tried both within the default controller and a separate controller 
> named a_net.py and in both cases the function and views are named payment. 
> In both cases, a link:  {{ =this_link }} is populated with the correct 
> link, but all the html code does not load in the browser. Only, the 
> variables that were returned to the view, and their correct values are 
> displayed. The URL to the view, with the function in default is: 
> "localhost:8000/mpay/default/payment" and with not using default: 
> "localhost:8000/mpay/a_net/payment" 
>
> None of the html code is in the browser, just the list of variables and 
> their values that the function returned to the view. So is it possible to 
> use a standard html element, like a button, and have only that button 
> displayed in a browser?
>
> Thanks in advance for any recommendations, James
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/7ba7ad16-1dae-4a0c-8e21-4dae47b0722dn%40googlegroups.com.

Reply via email to