jbschne/AirTorrent — Issue #9: Separate HTML from Python in webui
Author: crh0872
Created: 2011-12-23 13:27:48+00:00
State: open

Use:

* [Mako](http://www.makotemplates.org/)?
* [Jinja](http://jinja.pocoo.org/)?

For stuff like:

```python
def mediaDiv(self, source = None):
value = '

'+'Title as supplied by some AJAX goes here'+'

'
value += '''

Open in new window

'''
return value;
mediaDiv.exposed = True
```