Commit 319b2d1e authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team

file/add: Provide help when selecting preprocess

parent b40a066a
......@@ -42,7 +42,8 @@ def add():
pre_process_list.append(dict(
id = row.id,
name = row.name,
file = file
file = file,
info = row.info
))
query_patient = db(
......
......@@ -13,7 +13,7 @@
<td><select id="pre_process" name="pre_process" onChange="db.pre_process_onChange()">
<option data-file="1" value="0">no pre-process (1 file)</option>
{{for row in pre_process_list :}}
<option data-file="{{=row["file"]}}" value="{{=row["id"]}}">
<option title="{{=row["info"]}}" data-file="{{=row["file"]}}" value="{{=row["id"]}}">
{{=row["id"]}} &ndash; {{=row["name"]}}
</option> {{pass}}
</select>
......
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