<form class="plain" method="POST" tal:attributes="action request/URL"
      i18n:domain="schooltool">

  <div class="status"  tal:condition="view/error">
    <div class="summary ui-state-error ui-corner-all">
      <span class="ui-icon ui-icon-alert">icon</span>
      <tal:block content="view/error">
        [error message]
      </tal:block>
    </div>
  </div>

  <fieldset>
    <legend><span tal:content="view/label">[title]</span></legend>

    <div class="row">
      <p tal:condition="view/description"
         tal:content="view/description">[informative text]</p>
    </div>

    <metal:block use-macro="context/@@form_macros/widget_rows" />
  </fieldset>

  <div class="buttons">
    <input type="submit" class="button-cancel" name="STEP_BACK" value="Back"
           i18n:attributes="value" />
    <input type="submit" class="button-ok" name="NEXT" value="Next"
           i18n:attributes="value" />
    <input type="hidden" name="viewstate"
           tal:attributes="value json: view/view/json_state" />
  </div>

</form>
