From b74911f15a9f9a9ff3cca0e25fcd761bf41652b5 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 6 Sep 2024 16:38:04 -0500 Subject: Add more fields when creating a population Add more of the missing fields when creating a population, to ensure that the created population works as expected. --- .../templates/populations/create-population.html | 89 +++++++++++++++++++++- .../templates/populations/view-population.html | 13 ++++ 2 files changed, 98 insertions(+), 4 deletions(-) (limited to 'uploader/templates/populations') diff --git a/uploader/templates/populations/create-population.html b/uploader/templates/populations/create-population.html index 6a96148..12811fd 100644 --- a/uploader/templates/populations/create-population.html +++ b/uploader/templates/populations/create-population.html @@ -88,8 +88,7 @@

This is a short representative, but constrained name for your population. -

-

+
The field will only accept letters ('A-Za-z'), numbers (0-9), hyphens and underscores. Any other character will cause the name to be rejected. @@ -97,6 +96,20 @@ +

+ + + + … document what this field is for … + +
+
-

+
Put, here, anything that describes your population but does not go cleanly under metadata.

+
+ + + +

… provide some documentation on what this field does …

+
+
+ +
+ + + + + +

Select the mapping methods that your population will support.

+
+
+ +
+ + +
+
FullName
{{population.FullName}}
+
Code
+
{{population.InbredSetCode}}
+ +
Genetic Type
+
{{population.GeneticType}}
+ +
Family
+
{{population.Family}}
+
Description
{{population.Description or "-"}}
+
+ … maybe provide a way to organise populations in the same family here … +
+

Actions

-- cgit v1.2.3