about summary refs log tree commit diff
path: root/uploader/templates/samples/select-population.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/samples/select-population.html')
-rw-r--r--uploader/templates/samples/select-population.html18
1 files changed, 5 insertions, 13 deletions
diff --git a/uploader/templates/samples/select-population.html b/uploader/templates/samples/select-population.html
index 8e22ac1..1cc7573 100644
--- a/uploader/templates/samples/select-population.html
+++ b/uploader/templates/samples/select-population.html
@@ -12,23 +12,15 @@
 {{flash_all_messages()}}
 
 <div class="row">
-  <p>Select the population to use with your samples:</p>
   {{select_population_form(
-  url_for("species.populations.samples.select_population", species_id=species.SpeciesId),
-  populations)}}
-</div>
-<div class="row">
-  <p><strong>Cannot find your population in the list?</strong></p>
-
-  <p>If you cannot find the population you want in the drop-down above, you can
-    instead,
-    <a href="{{url_for('species.populations.create_population',
-             species_id=species.SpeciesId)}}"
-       title="Create a new population for species '{{species.FullName}},">
-      create a new population</a>.
+  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%}