<div>
  <metal:block use-macro="macro:form">
    <metal:block metal:fill-slot="extra-widgets">
      <tal:block content="structure view/course_subform/render" />
      <tal:block content="structure view/term_subform/render" />
    </metal:block>
    <metal:block fill-slot="above-buttons" tal:condition="request/camefrom|nothing">
      <input type="hidden" name="camefrom" tal:attributes="value request/camefrom" />
    </metal:block>
  </metal:block>
</div>
