Thanks Leonel for the reply.
Putting the repeating code in a separate html file and including that file
in appropriate places worked for me.
Thanks a lot.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.g
Well just put it in a separate view and then include in the others. For
instance if you put this snippet in entries_well.html you can then do
{{include entries_well.html}}.
Another thing you can do, which may be better or worse depending on your
use case, is extend the original view where you f
2 matches
Mail list logo