<tal:defs define="dummy view/update" />
<html metal:use-macro="view/@@standard_macros/page" i18n:domain="schooltool">
<head>
  <title metal:fill-slot="title">
    Delete emails
  </title>
</head>
<body>

<span metal:fill-slot="zonki">
  <img src="zonki.png" alt="SchoolTool" i18n:attributes="alt"
    tal:attributes="src context/++resource++zonki-question.png" />
</span>

<h1 metal:fill-slot="content-header" i18n:translate="">
  Are you sure you want to delete the selected emails?
</h1>

<metal:block metal:fill-slot="body"
             tal:define="objects view/itemsToDelete">
  <p tal:condition="not:objects" i18n:translate="">You have not
  selected any items.</p>
  <ul tal:condition="objects">
    <form method="post">
      <li tal:repeat="obj objects">
        <input type="hidden"
               tal:attributes="name string:delete.${obj/zope:name}" />
        <span tal:content="obj/from_address">From</span>
      </li>
      <div class="controls">
        <input type="submit" class="button-cancel" name="CONFIRM"
               value="Confirm"
               i18n:attributes="value" />
        <input type="submit" class="button-cancel" name="CANCEL" value="Cancel"
               i18n:attributes="value cancel-button" />
      </div>
    </form>
  </ul>

</metal:block>
</body>
</html>
