{% if request.scope['endpoint'].__name__ in ['index'] and model %} New {{ model.__name__ }} {% endif %}