{% extends "bootstrap/base.html" %} {% block title %}MyShow{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block navbar %} 数据展示 {% if name %} {{ name }} 退出登录 {% elif form %} {{ form.csrf_token }} {{ form.name(placeholder="Email...", class="form-control") }} {{ form.password(placeholder="Password...", class="form-control") }} {{ form.submit(class="btn btn-primary") }} {% endif %} {% endblock %} {% block content %}