<tal:tag condition="view/update" />
<html metal:use-macro="context/@@standard_macros/page"
      i18n:domain="schooltool.intervention">
<head>
  <title metal:fill-slot="title" i18n:translate="">
    Intervention
  </title>
</head>
<body>
<div metal:fill-slot="body">
  <form method="post" class="standalone" style="width: 60em">
    <h3 tal:content="view/title" />

    <fieldset>
      <legend><b tal:content="view/student_title" /></legend>
      <div class="row">
        <p class="hint"><label i18n:translate="" for="SEARCH_STUDENT_NAME">Student name</label></p>
        <input type="text"
               id="SEARCH_STUDENT_NAME"
               name="SEARCH_STUDENT_NAME" />
        <input type="checkbox" name="WITH_GOALS_ONLY" />
        <span i18n:translate="">Show only students with goals</span>
        <input class="button-ok"
               type="submit" name="SEARCH_STUDENT_BUTTON" value="Find Now"
               i18n:attributes="value"/>
      </div>
    </fieldset>

    <fieldset tal:define="assigned_batch view/available_table/batch">
      <legend><b tal:content="view/inbox_title" /></legend>
      <div class="item_list">
        <tal:block replace="structure view/available_table/batch/render|nothing" />
        <tal:block replace="structure view/available_table/filter_widget/render|nothing" />
        <tal:block replace="structure view/available_table/render" />
      </div>
    </fieldset>
  </form>
</div>
</body>
</html>
