Source

flask-actions / examples / example / example / templates / index.html

Full commit
1
2
3
4
5
6
7
8
{% extends "layout.html" %}
{% block body %}
  {% if session.logged_in %}
   Welcome, {{ session.username }} !
  {% else %}
  Please <a href="{{ url_for("login")}}">log in </a>!
  {% endif %}
{% endblock %}