<div metal:use-macro="request.sdiapi.main_template" i18n:domain="substanced">

  <metal:head-more fill-slot="head-more">
    <!-- CSS -->
    <link rel="stylesheet" 
          href="${request.static_url('deform:static/css/form.css')}"
          type="text/css"/>
    <tal:block repeat="reqt css_links|[]">
      <link rel="stylesheet" 
            href="${request.static_url(reqt)}" 
            type="text/css" />
     </tal:block>

    <!-- JavaScript -->
    <tal:block repeat="reqt js_links|[]">
      <script type="text/javascript"
              src="${request.static_url(reqt)}"
       ></script>
    </tal:block>
  </metal:head-more>

  <div metal:fill-slot="main">

    <div class="container">
      <div class="panel panel-default">
        <div class="panel-heading"><b>${view.title|''}</b></div>
         <div class="panel-body">
           <div class="col-md-12" id="form" tal:content="structure form"/>
           </div>
         </div>
      </div>

  </div>

</div>
