aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/samples/select-population.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-02-18 16:24:14 -0600
committerFrederick Muriuki Muriithi2025-02-18 16:24:14 -0600
commit75add682a8d63a30e947b6bcd8d2e5dfee06c297 (patch)
tree45879792ca984fc5ef20933172742e48e4a40d97 /uploader/templates/samples/select-population.html
parentc403183a504769af6b3aa25b5438e945efbc91ff (diff)
downloadgn-uploader-75add682a8d63a30e947b6bcd8d2e5dfee06c297.tar.gz
Use new searchable list tables with off-ramps for data creation.
Diffstat (limited to 'uploader/templates/samples/select-population.html')
-rw-r--r--uploader/templates/samples/select-population.html23
1 files changed, 5 insertions, 18 deletions
diff --git a/uploader/templates/samples/select-population.html b/uploader/templates/samples/select-population.html
index f437780..1cc7573 100644
--- a/uploader/templates/samples/select-population.html
+++ b/uploader/templates/samples/select-population.html
@@ -12,28 +12,15 @@
{{flash_all_messages()}}
<div class="row">
- <p>You have selected "{{species.FullName}}" as the species that your data relates to.</p>
- <p>Next, we need information regarding the population your data relates to. Do please select the population from the existing ones below</p>
-</div>
-
-<div class="row">
{{select_population_form(
- url_for("species.populations.samples.select_population", species_id=species.SpeciesId),
- populations)}}
-</div>
-
-<div class="row">
- <p>
- If you cannot find the population your data relates to in the drop-down
- above, you might want to
- <a href="{{url_for('species.populations.create_population',
- species_id=species.SpeciesId)}}"
- title="Create a new population for species '{{species.FullName}},">
- add a new population to GeneNetwork</a>
- instead.
+ url_for("species.populations.samples.select_population", species_id=species.SpeciesId), species, populations)}}
</div>
{%endblock%}
{%block sidebarcontents%}
{{display_species_card(species)}}
{%endblock%}
+
+{%block javascript%}
+<script type="text/javascript" src="/static/js/populations.js"></script>
+{%endblock%}