<h1 tal:replace="structure context/manage_page_header">PAGE HEADER</h1>
<h2 tal:replace="structure context/manage_tabs">TABS</h2>

<h3>Import uploaded tarball</h3>

<form action="." method="post" enctype="multipart/form-data"
      tal:attributes="action context/absolute_url">

<p>
    <input class="form-element" type="file"
           name="tarball" />
    <input type="hidden" name="submitted" value="yes" />
    <label>
    <input class="form-element" type="checkbox" checked="checked"
           name="purge_old" />
    Purge existing settings
    </label>
    <input class="form-element" type="submit"
           name="manage_importTarball:method"
           value=" Import uploaded tarball " />
</p>

<table cellspacing="0" cellpadding="4"
       tal:condition="options/messages | nothing">

  <tr class="list-header">
   <td colspan="4">Message Log</td>
  </tr>

  <tr valign="top"
      tal:repeat="item options/messages/items">
   <td tal:content="python: item[0]">STEP</td>
   <td colspan="3"
       tal:content="structure python: item[1].replace('\n', '&lt;br /&gt;')"
       >MESSAGE</td>
  </tr>

</table>
</form>

<h1 tal:replace="structure context/manage_page_footer">PAGE FOOTER</h1>
