<html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal" metal:use-macro="here/main_template/macros/master" tal:define="dummy python: here.request.set('isDesktop', 1)"> <body> <div metal:fill-slot="main"> <div tal:condition="python: not(here.portal_membership.checkPermission('Access contents information', here))"> <span tal:define="dummy here/unauthRedirect"></span> </div> <div class="Desktop"> <h1> Add Content </h1> <form action="invokeFactory" method="POST" tal:attributes="action string:${here/absolute_url}/invokeFactory" > <table class="FormLayout"> <tr> <td> <table width="100%" class="FormLayout" tal:repeat="item here/allowedContentTypes"> <tr valign="top"> <td align="left" width="2%" nowrap><input type="radio" name="type_name" value="" id="" tal:attributes="value item/getId; id string:cb_${repeat/item/number}"/> </td> <td align="left" colspan="2" class="ListName"><label for="" tal:attributes="for string:cb_${repeat/item/number}" tal:content="item/Title"></label> </td> </tr> <tr valign="top"> <td colspan="2"> <br> </td> <td align="left" class="ListDefinition" tal:content="item/Description"></td> </tr> </table> </td> </tr></table> <table class="FormLayout"> <tr valign="top"> <td> <br> </td> <td colspan="2" class="TextField"> <strong> ID: </strong> <input type="text" name="id" size="20"> <input type="submit" value="Add"> </td> </tr> </table> </form> </div> </div> </body> </html>