I have some reusable HTML snippets that I want to 'include' in a number of web2py views.
Using components with LOAD means having to write separate controller functions which need to load their own data.
Is there a way to:
- Reuse dumb (no data) html snippets across views?
- Reuse sub-views that would inherit the variables of the parent view, so that they can be inserted without calling controller functions and reloading data?