Commit b659879c authored by Marc Duez's avatar Marc Duez

server: add required field "*" in form

parent 8c849eb4
......@@ -24,7 +24,7 @@
<tr>
<td><label for="sampling_date" id="sampling_date__label">sampling date: </label></td>
<td><input class="date" id="sampling_date" name="sampling_date" type="text" value="">
<span>(format: yyyy-mm-dd)</span></td>
<span>* (format: yyyy-mm-dd)</span></td>
<td></td>
</tr>
<tr>
......@@ -55,3 +55,7 @@
</tbody>
</table>
</form>
<div>
(* required fields)
</div>
......@@ -24,7 +24,7 @@ info = db.sequence_file[request.vars["id"]]
<tbody>
<tr>
<td> <label for="sampling_date" id="sampling_date__label">sampling date: </label> </td>
<td> <input class="date" id="sampling_date" name="sampling_date" type="text" value="{{=info.sampling_date}}"> <span>(format: yyyy-mm-dd) /!\ pas encore de check </span> </td>
<td> <input class="date" id="sampling_date" name="sampling_date" type="text" value="{{=info.sampling_date}}"> <span>* (format: yyyy-mm-dd)</span> </td>
<td> </td>
</tr>
<tr>
......
......@@ -8,7 +8,7 @@
<label for="patient_first_name" id="patient_first_name__label"> First Name: </label>
</td>
<td >
<input class="string" id="patient_first_name" name="first_name" type="text" value="">
<input class="string" id="patient_first_name" name="first_name" type="text" value=""><span>*</span>
</td>
<td >
</td>
......@@ -18,7 +18,7 @@
<label for="patient_last_name" id="patient_last_name__label">Last Name: </label>
</td>
<td>
<input class="string" id="patient_last_name" name="last_name" type="text" value="">
<input class="string" id="patient_last_name" name="last_name" type="text" value=""><span>*</span>
</td>
<td>
</td>
......@@ -28,7 +28,7 @@
<label for="patient_birth" id="patient_birth__label">Birth: </label>
</td>
<td>
<input class="date" id="patient_birth" name="birth" type="text" value=""><span>(format: yyyy-mm-dd)</span>
<input class="date" id="patient_birth" name="birth" type="text" value=""><span>* (format: yyyy-mm-dd)</span>
</td>
<td>
</td>
......@@ -55,3 +55,7 @@
</tbody>
</table>
</form>
<div>
(* required fields)
</div>
......@@ -10,17 +10,17 @@ info = db.patient[request.vars["id"]]
<tbody>
<tr>
<td > <label for="patient_first_name" id="patient_first_name__label"> First Name: </label> </td>
<td > <input class="string" id="patient_first_name" name="first_name" type="text" value="{{=info.first_name}}"> </td>
<td > <input class="string" id="patient_first_name" name="first_name" type="text" value="{{=info.first_name}}"><span>*</span></td>
<td > </td>
</tr>
<tr>
<td> <label for="patient_last_name" id="patient_last_name__label">Last Name: </label> </td>
<td> <input class="string" id="patient_last_name" name="last_name" type="text" value="{{=info.last_name}}"> </td>
<td> <input class="string" id="patient_last_name" name="last_name" type="text" value="{{=info.last_name}}"><span>*</span></td>
<td> </td>
</tr>
<tr>
<td> <label for="patient_birth" id="patient_birth__label">Birth: </label> <span>(format: yyyy-mm-dd) /!\ pas encore de check </span> </td>
<td> <input class="date" id="patient_birth" name="birth" type="text" value="{{=info.birth}}"> </td>
<td> <label for="patient_birth" id="patient_birth__label">Birth: </label></td>
<td> <input class="date" id="patient_birth" name="birth" type="text" value="{{=info.birth}}"><span>* (format: yyyy-mm-dd)</span></td>
<td> </td>
</tr>
<tr>
......@@ -35,4 +35,9 @@ info = db.patient[request.vars["id"]]
</tr>
</tbody>
</table>
</form>
<div>
(* required fields)
</div>
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