diff options
author | Frederick Muriuki Muriithi | 2024-09-23 14:10:17 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-23 14:10:17 -0500 |
commit | 3bec3b312a1e235247f1431d4351db5efe7a785d (patch) | |
tree | cd93e561d43e35e9389625220012b35094d900d1 /uploader/genotypes | |
parent | 27eec3300eddbc17214b3ff3ffbd8bea867db401 (diff) | |
download | gn-uploader-3bec3b312a1e235247f1431d4351db5efe7a785d.tar.gz |
UI: Indicate currently active menu.
Diffstat (limited to 'uploader/genotypes')
-rw-r--r-- | uploader/genotypes/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/genotypes/views.py b/uploader/genotypes/views.py index 4158491..d69dc28 100644 --- a/uploader/genotypes/views.py +++ b/uploader/genotypes/views.py @@ -7,6 +7,7 @@ from flask import (flash, render_template, current_app as app) +from uploader.ui import make_template_renderer from uploader.authorisation import require_login from uploader.db_utils import database_connection from uploader.species.models import all_species, species_by_id @@ -20,6 +21,7 @@ from .models import (genotype_markers, genocode_by_population) genotypesbp = Blueprint("genotypes", __name__) +render_template = make_template_renderer("genotypes") @genotypesbp.route("populations/genotypes", methods=["GET"]) @require_login |