aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/samples/select-population.html
blob: 8e22ac1471e4fd0dfa7bf43ff4ff5efccc8d3070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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%}