about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-03-27 10:07:01 -0500
committerFrederick Muriuki Muriithi2026-03-27 10:33:18 -0500
commit71e36e19dde7fdb8c4b47a81e3e5e2548d185261 (patch)
treeb6dbe978255ca28480d0e6155d40d517a5f6402f
parent8cc78cfbe3c2deb456ed4c67a6ed5004262367ae (diff)
downloadgn-uploader-71e36e19dde7fdb8c4b47a81e3e5e2548d185261.tar.gz
genotypes: Setup sane defaults for creating new genotype datasets.
-rw-r--r--uploader/templates/genotypes/create-dataset.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/uploader/templates/genotypes/create-dataset.html b/uploader/templates/genotypes/create-dataset.html
index 10331c1..5a6d3d2 100644
--- a/uploader/templates/genotypes/create-dataset.html
+++ b/uploader/templates/genotypes/create-dataset.html
@@ -35,7 +35,9 @@
              id="txt-geno-dataset-name"
              name="geno-dataset-name"
              required="required"
-             class="form-control" />
+             class="form-control"
+             value="{{population.Name}}Geno"
+             readonly="readonly" />
       <small class="form-text text-muted">
         <p>This is a short representative, but constrained name for the genotype
           dataset.<br />
@@ -50,7 +52,8 @@
              id="txt-geno-dataset-fullname"
              name="geno-dataset-fullname"
              required="required"
-             class="form-control" />
+             class="form-control"
+             value="{{population.Name}} Genotypes" />
       <small class="form-text text-muted">
         <p>This is a longer, more descriptive name for your dataset.</p></small>
     </div>
@@ -61,7 +64,8 @@
       <input type="text"
              id="txt-geno-dataset-shortname"
              name="geno-dataset-shortname"
-             class="form-control" />
+             class="form-control"
+             value="{{population.Name}}Geno" />
       <small class="form-text text-muted">
         <p>A short name for your dataset. If you leave this field blank, the
           short name will be set to the same value as the