Skip to content

Instantly share code, notes, and snippets.

@StephenFordham
Created November 6, 2021 20:48
Show Gist options
  • Save StephenFordham/34117ab3f5dbeb989191866c650573dd to your computer and use it in GitHub Desktop.
Save StephenFordham/34117ab3f5dbeb989191866c650573dd to your computer and use it in GitHub Desktop.
jinja_templating_logout
<!--
...if block above...
-->
{% else %}
<h1>Explore BacGenomePipeline</h1>
{% with messages = get_flashed_messages(category_filter=['success']) %}
{% if messages %}
{% for message in messages %}
<h5 class="col-lg-4 col-sm-12 alert alert-success" role="alert" >{{message}}</h5>
{% endfor %}
{% endif %}
{% endwith %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment