{% extends "base.html" %} {% block title %}Users{% endblock %} {% block content %} <link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}"> <h2 class="header">Users</h2> <table class="table table-striped table-dark"> <thead> <tr> <td>#</td> <td>Name</td> <td>Email</td> </tr> </thead> <tbody> {% for user in users %} <tr> <td scope="row">{{ loop.index }}</td> {% for element in user %} {% if loop.index < 3 %} <td>{{ element }}</td> {% endif %} {% endfor %} </tr> {% endfor %} </tbody> </table> {% endblock %}