Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit d5522533 authored by Marc Duez's avatar Marc Duez
Browse files

server : file views, put the file input outside the <form> to handle it separatly

parent dab56f09
{{extend 'db_layout.html'}}
<div>
<table>
<tr>
<td >
<label for="file" id="file__label"> file </label>
</td>
<td >
<input id="upload_file" type="file" name="file" >
</td>
<td >
</td>
</tr>
</table>
</div>
<form id="upload_form" action="DB_ADDRESS/file/add_form" enctype="multipart/form-data" method="post">
<input type="hidden" name="patient_id" value="{{=request.vars["id"]}}" >
<table>
<tbody>
<tr>
<td >
<label for="file" id="file__label"> file </label>
</td>
<td >
<input id="upload_file" type="file" name="file" >
</td>
<td >
</td>
</tr>
<tr>
<td>
<label for="sampling_date" id="sampling_date__label">sampling date: </label>
......
......@@ -4,8 +4,19 @@
info = db.sequence_file[request.vars["id"]]
}}
<div>
<table>
<tr>
<td >
<input id="upload_file" type="file" name="file" >
</td>
<td >
</td>
</tr>
</table>
</div>
<form id="data_form" action="DB_ADDRESS/file/edit_form" enctype="multipart/form-data" method="post">
<form id="upload_form" action="DB_ADDRESS/file/edit_form" enctype="multipart/form-data" method="post">
<input type="hidden" id="file_id" name="id" value="{{=request.vars["id"]}}" >
<table>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment