<div xmlns="http://www.w3.org/1999/xhtml" 
     xmlns:py="http://genshi.edgewall.org/"
     class="${css_class}"
     py:attrs="attrs">
<a py:if="obj_value is not None" href="${url}">${obj_value}</a><span py:if="obj_value is None">${_('None')}</span>
<input type="hidden" name="${name}" id="${id}" value="${value}"/>
</div>