{%extends "expression-data/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%}Expression Data{%endblock%}

{%block pagetitle%}Expression Data{%endblock%}


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

<div class="row">
  <p>You have selected the species. Now you need to select the population that
  the expression data belongs to.</p>
</div>

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

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