{% set current_endpoint = url_for(request.endpoint)[1:].split("/")[-1].strip() %}