<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">

<xi:include href="master.html" />
<head>
	<title py:if="hasattr(value, 'display_name')"
	py:content="'%s (%s)' % (value.display_name, value.name)" />
	<title py:if="not hasattr(value, 'display_name')"
	  py:content="'Change %s' % model" />
	<style type="text/css">
		tr[id="_password.container"],
		tr[id="history.container"]{
			display: none;
		}
	  .labelcol {
	  	width: 100px;
	  }
	  
	  form table {
	  	width: 100%;
	  }
	</style>
</head>
<body>
	<div id="content" style="margin-left: 20px;">
		<h2 py:if="hasattr(value, 'display_name')"
		py:content="'%s (%s)' % (value.display_name, value.name)" />
		<h2 py:if="not hasattr(value, 'display_name')"
		  py:content="'Change %s' % model" />
		${XML(tmpl_context.widget(value=value, action='./'))}
	</div>
</body>
</html>
