<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:use-macro="container/page_macro/macros/master_page">

<span tal:omit-tag="" metal:fill-slot="main_content_slot">
	<h2 i18n:translate="">Adding new artefact</h2>
	
	<form action="add_artefact_form_handler" method="post" enctype="multipart/form-data">
<!--	<span tal:omit-tag="" tal:repeat="pid python:string.split(parent_ids, ',')">
	<span tal:content="request/parent_ids" />-->
		<input type="hidden" name="parent_ids" value="" tal:attributes="value request/parent_ids | nothing" />
<!--	</span>-->
		<table border="0">
			<tr>
				<td i18n:translate="">Title of the artefact:</td>
				<td><input type="text" name="artefact_name" size="24" /></td>
			</tr>
			<tr>
				<td i18n:translate="">Upload file:</td>
				<td><input type="file" name="artefact_upload" tabindex="2" /></td>
			</tr>
			<tr>
				<td colspan="2">
					<input type="submit" value="Continue" i18n:attributes="value" name="submit" tabindex="3">
					<input type="submit" value="Cancel" i18n:attributes="value" name="cancel" tabindex="4">
				</td>
			</tr>
		</table>
	</form>
	
</span>

</html>
<!--
<dtml-var expr="state_form(REQUEST, 'add_artefact_form_handler', 'POST', 'multipart/form-data')">

     <table border="0" cellpadding="4" cellspacing="0" width="100%">
      <tr>
	<td class="mainbg" id="h1white">
	&nbsp;&nbsp;<dtml-var "L_adding_new_artefact">
       </td>
      </tr>
      <tr>
       <td class="main">
	<table border="0" bordercolor="blue" cellpadding="0" cellspacing="0" width="100%">
	 <tr>
	  <td width="4" valign="top" align="left"  class="light">&nbsp;</td>
	  <td class="light">&nbsp;<br>
	  </td>
	  <td width="4" valign="top" align="right" class="light">&nbsp;</td>
	 </tr>
	 <tr>
	  <td width="4" class="light">&nbsp;</td>
	  
	  <td class="light">
	   <div align="center">
	    <table border="0" cellpadding="4" cellspacing="0">
	     <tr>
	      <td class="light" colspan="2">
	       <div align="left">
		&nbsp;&nbsp;<dtml-var "L_name_of_the_artefact">:</div>
	      </td>
	      <td class="light"><input type="text" name="artefact_name" value="<dtml-var artefact_name missing="">" size="24" tabindex="1" ></td>
	     </tr>

	     
	     <tr>
	      <td class="light" colspan="2">
	       <div align="left">
		&nbsp;&nbsp;
		<dtml-in "_.string.split(parent_ids, ',')">
 <input type="hidden" name="parent_ids" value="<dtml-var sequence-item>" />
</dtml-in><dtml-var "L_upload_file">:
		</div>
	      </td>
	      <td class="light">
	      <input type="file" name="artefact_upload" tabindex="2">
</td>
	     </tr>
	     
	     
	     <tr>
	       <td colspan="3">
	       <div align="right">
		<br><input type="submit" value="<dtml-var "L_submit">" name="submit" tabindex="3"> <input type="submit" value="<dtml-var "L_cancel">" name="cancel" tabindex="4"> <br>
	       </div>
	      </td>
	     </tr>
	    </table></div>
	   
	  </td>
	  
	  <td width="4" class="light">&nbsp;</td>
	 </tr>
	 <tr>
	  <td width="4" valign="bottom" align="left" class="light">&nbsp;</td>
	  
	  <td class="light">&nbsp;</td>
	  
	  <td valign="bottom" align="right" class="light">&nbsp;</td>
	 </tr>
	</table>
       </td>
      </tr>
     </table>

</form>
-->
