From e4efc444d651c09de102c12d77d114431d459d33 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 16 Sep 2026 13:47:24 -0500 Subject: Add handlers for changes to the CSV fields. --- .../genotypes/add-genotypes-records-csv.html | 47 +++++++++++++++++++++- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/uploader/templates/genotypes/add-genotypes-records-csv.html b/uploader/templates/genotypes/add-genotypes-records-csv.html index 10a5427..ff78f52 100644 --- a/uploader/templates/genotypes/add-genotypes-records-csv.html +++ b/uploader/templates/genotypes/add-genotypes-records-csv.html @@ -1,6 +1,8 @@ {%extends "genotypes/add-genotypes-records-base.html"%} {%from "phenotypes/macro-display-preview-table.html" import display_preview_table%} -{%from "macro-csv-fields.html" import display_csv_fields, display_csv_fields_documentation%} +{%from "macro-csv-fields.html" import display_csv_fields%} +{%from "macro-csv-fields.html" import add_csv_fields_event_handlers%} +{%from "macro-csv-fields.html" import display_csv_fields_documentation%} {%from "phenotypes/macro-display-resumable-elements.html" import display_resumable_elements%} {%block frm_add_genotypes_records_elements%} @@ -57,18 +59,59 @@ {%block javascript%} {{super()}} + +{{add_csv_fields_event_handlers()}} + {%endblock%} -- cgit 1.4.1