Commit 45a5978a authored by Marc Duez's avatar Marc Duez

server : cancel button for delete file/patient action

parent af22bfb9
......@@ -10,7 +10,8 @@
All data using this sequence file will also be deleted ({{=db(db.data_file.sequence_file_id==request.vars["id"]).count()}} data file(s) will be deleted).</br>
<div class="center">
<button onclick="db.call('file/delete', {'id' :'{{=request.vars["id"]}}'} )">continue</button>
<button onclick="db.call('file/delete', {'id' :'{{=request.vars["id"]}}'} )">delete</button>
<button onclick="db.call('patient/info', {'id' :'{{=db.sequence_file[request.vars["id"]].patient_id}}'} )">cancel</button>
</div>
</div>
......
......@@ -17,7 +17,8 @@ for row in query :}}
All data file of this patient will also be deleted ({{=data_count}} data file(s) will be deleted).</br>
<div class="center">
<button onclick="db.call('patient/delete', {'id' :'{{=request.vars["id"]}}'} )">continue</button>
<button onclick="db.call('patient/delete', {'id' :'{{=request.vars["id"]}}'} )">delete</button>
<button onclick="db.call('patient/index')">cancel</button>
</div>
</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