<title py:if="not hasattr(value, 'display_name')" py:content="model" /> </head> <body> <div id="sidebar"> <h3>Actions</h3> <ul> <li>Show storage content</li> <li> <a py:attrs="dict(href=tg.url('/storage/%d/edit'%tubestorage.id))"> Edit storage </a> </li> </ul> </div> <div id="content"> <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="model" /> <p><strong>Identifier:</strong> ${tubestorage.identifier}</p> <p><strong>Key:</strong> ${tubestorage.key}</p> <p><strong>Value:</strong> ${tubestorage.value}</p> <!--! ${XML(tmpl_context.widget(value=value, action='./'))} --> </div> </body> </html>