diff options
Diffstat (limited to 'uploader/templates/samples/select-population.html')
-rw-r--r-- | uploader/templates/samples/select-population.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/uploader/templates/samples/select-population.html b/uploader/templates/samples/select-population.html new file mode 100644 index 0000000..8e22ac1 --- /dev/null +++ b/uploader/templates/samples/select-population.html @@ -0,0 +1,34 @@ +{%extends "samples/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "populations/macro-select-population.html" import select_population_form%} +{%from "species/macro-display-species-card.html" import display_species_card%} + +{%block title%}Samples — Select Population{%endblock%} + +{%block pagetitle%}Samples — Select Population{%endblock%} + + +{%block contents%} +{{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>. +</div> +{%endblock%} + +{%block sidebarcontents%} +{{display_species_card(species)}} +{%endblock%} |