<h1 tal:replace="structure here/manage_page_header|nothing">Header</h1>
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    tal:replace="structure here/manage_tabs">Tabs</h2>

<p>Indicate the types for which portal_factory should be used for object
creation.</p>

<form method="PUT" action="manage_setPortalFactoryTypes">

  <table border="0"
         tal:define="factory_types here/getFactoryTypes">
    <tr tal:repeat="type_name python:here.portal_types.listContentTypes()" >
      <td><input type="checkbox" 
                 tal:attributes="name python:type_name;
                                 checked python:test(factory_types.has_key(type_name), '1', '')" /></td>
      <td tal:content="type_name" />
    </tr>
  </table>

  <input type="submit" name="submit" value="Save"/>
</form>
    
<tal:footer tal:replace="structure here/manage_page_footer|nothing">footer</tal:footer>
