view frontend/mfrontend/templates/layout.html @ 4:cf786ee26a22

MOŻNA SIĘ LOGOWAĆ I WYLOGOWAĆ jestem wspaniały
author michalr
date Tue, 22 Feb 2011 20:38:51 +0000
parents 79fc37fe85a6
children d86794939fe4
line wrap: on
line source

 <!doctype html>
<title>Flaskr</title>
<div class=page>
  <h1>NO HEJ</h1>
  <div class=metanav>
  {% if not session.logged_in %}
    <a href="{{ url_for('login') }}">log in</a>
  {% else %}
    <a href="{{ url_for('logout') }}">log out</a>
  {% endif %}
  </div>
  {% for message in get_flashed_messages() %}
    <div class=flash>{{ message }}</div>
  {% endfor %}
  {% block body %}{% endblock %}
</div>