<iframe src="about:blank" name="triple-file-upload" id="triple-file-upload" style="display: none"></iframe>
<form class="small-form" target="triple-file-upload" method="post" enctype="multipart/form-data" action="store/import">
  <?event submit $arg.start($node);?>
  <table width="100%">
    <tr>
      <td>
        <label>File:</label> <input type="file" name="file"/><?run $node.focus();?><br/>
        <label>Format:</label>
        <input type="radio" name="format" value="guess" checked="checked">Guess from extension</input>
        <input type="radio" name="format" value="ntriples">N-Triples</input>
        <input type="radio" name="format" value="rdfxml">RDF/XML</input>
        <input type="radio" name="format" value="trix">TriX</input>
      </td>
      <td width="1">
        <span style="visibility: hidden" id="file-uploading"><?msgthrob?></span>
      </td>
      <td class="buttons">
        <button type="submit">OK</button>
        <button type="button">Cancel</button><?event click $arg.cancel();?>
      </td>
    </tr>
  </table>
</form>
