# HG changeset patch # User Tero Marttila # Date 1246043449 -10800 # Node ID 29e41a6415d7acb19ea4828e8446aed64fb8ccbb # Parent 6534c77de93fa3064a04810b85c11d4d307a1796 no need to use 'id_' in html attributes instead of just 'id' diff -r 6534c77de93f -r 29e41a6415d7 degal/templates.py --- a/degal/templates.py Fri Jun 26 22:09:13 2009 +0300 +++ b/degal/templates.py Fri Jun 26 22:10:49 2009 +0300 @@ -41,7 +41,7 @@ """ return [ - tags.div(id_='image')( + tags.div(id='image')( # title tags.h1(image.title) if image.title else None, @@ -62,7 +62,7 @@ ), # extended info, metadata - tags.div(id_='info')(*( + tags.div(id='info')(*( tags.p(("%s: " % name), value) for name, value in image.metadata )), ]