{%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">
  {{select_population_form(url_for("species.populations.phenotypes.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%}