1
{% extends "layout.html" %}
2
{% block body %}
3
{% if session.logged_in %}
4
  {% for user in users %}
5
    <p>{{ user }}</p>
6
  {% endfor %}
7
{% elif users|len == 1 %}
8
  <p> {{ users[0] }} </p>
9
{% else %}
10
  <p> You have to login as admin to view this page. </p>
11
{% endif %}
12
{% endblock %}