<html>


<metal:content define-macro="media_manager">
    <h1>
      <span tal:content="context/title" />:
      <span i18n:translate="">Media Manager</span></h1>
    <div>
      <a tal:attributes="href context/absolute_url"
         i18n:translate="">Back to Wiki</a><br />&nbsp;</div>
    <form method="post" enctype="multipart/form-data">
      <input type="hidden" name="form_action" value="upload" />
      <div>
        <input type="file" name="file" /></div>
      <div>
        <input type="submit" name="upload" value="Upload File" /></div>
    </form>
    <tal:listing define="objects view/listObjects"
                 condition="objects">
      <h2 i18n:translate="">Media Objects</h2>
      <div tal:repeat="obj objects">
        <a tal:attributes="href string:${obj/absolute_url}/@@view"
           tal:content="obj/title" />
      </div>
    </tal:listing>
</metal:content>


<metal:content define-macro="media_object">
    <h1>
      <span tal:content="context/title" /></h1>
</metal:content>


</html>
