{%extends "phenotypes/base.html"%}
{%from "flash_messages.html" import flash_all_messages%}
{%from "species/macro-display-species-card.html" import display_species_card%}
{%from "populations/macro-select-population.html" import select_population_form%}

{%block title%}Phenotypes{%endblock%}

{%block pagetitle%}Phenotypes{%endblock%}


{%block contents%}
{{flash_all_messages()}}

<div class="row">
  <p>Select the population for your phenotypes to view and manage the phenotype
    datasets that relate to it.</p>
</div>

<div class="row">
  {{select_population_form(url_for("species.populations.phenotypes.select_population",
  species_id=species.SpeciesId),
  populations)}}
</div>
{%endblock%}

{%block sidebarcontents%}
{{display_species_card(species)}}
{%endblock%}