<tal:defs define="dummy view/update" />
<html metal:use-macro="view/@@standard_macros/page" i18n:domain="schooltool">
<head>
  <title metal:fill-slot="title">
    Delete items
  </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 selected items?
</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">
        <span tal:content="obj/first_name">FirstName</span>
        <a tal:content="obj/last_name"
           tal:attributes="href obj/@@absolute_url">LastName</a>
      </li>
      <tal:block repeat="key view/listFormKeysForDeletion">
        <input type="hidden" tal:attributes="name key" />
      </tal:block>
      <div class="controls">
        <input type="submit" class="button-cancel" name="CONFIRM" value="Confirm"
               i18n:attributes="value delete-button;" />
        <input type="submit" class="button-cancel" name="CANCEL" value="Cancel"
               i18n:attributes="value cancel-button" />
      </div>
    </form>
  </ul>

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