Answers for "use if in html flask"

2

flask if statement

{% extends "base.html" %}
{% block content %}
    {% if condition %}
        <div>blah blah blah blah</div>
    {% else %}
        {{ super() }}
    {% endif %}
{% endblock content %}
Posted by: Guest on June-10-2021

Python Answers by Framework

Browse Popular Code Answers by Language