{% comment %}
Species selection
Features:
- Allows user to search species by nomenclature and metadata (including taxonomic ranks)
- Atlas selection dropdown is initially invisible to prevent Flash of Unstyled Content (FOUC)
- Upon species selection, the user is redirected to that species page
- Navigation tabs redirect to different views for the selected species
- When no species is selected, mockup is shown and navigation tabs are disabled
Input:
- species_dict: dictionary of arrays of species grouped by their phylum
- species: selected species
- placeholder: text in search box (default: "Search species by nomenclature,
taxonomic rank, division, ...")
- redirect: one of 'query', 'arg', 'atlas' or 'none' (default); if 'query',
redirect to URL using a query parameter (e.g., '?species=Mus_musculus');
if 'arg', redirect using species as an argument; if 'atlas', redirect to
selected species in the Cell Atlas
- class: additional class for select element
- optgroup_columns: if 'true', enable the optgroup_columns plugin
- maxwidth: maximum width of the element
{% endcomment %}