{% extends "base.html" %} {% from "form_macros.html" import render_field %} {% block title %} Pytwask -- {{ current_user.username }}'s Settings {% endblock %} {% block buttons %} {% endblock %} {% block sidebar %} {% endblock %} {% block content %}

Following

{% with followings = current_user.get_followings() %} {% if followings %} {% for following in followings %}

{{ following }}

{% endfor %} {% else %} No followings yet. {% endif %} {% endwith %}

Followed by

{% with followers = current_user.get_followers() %} {% if followers %} {% for follower in followers %}

{{ follower }}

{% endfor %} {% else %} No follower yet. {% endif %} {% endwith %}

{% with messages = get_flashed_messages() %} {% if messages %} {% endif %} {% endwith %}

Change your password

{{ form.hidden_tag() }} {{ render_field(form.old_password, size=50) }} {{ render_field(form.new_password, size=50) }} {{ render_field(form.new_password2, size=50) }} {{ render_field(form.submit, style="float:right;") }}
{% endblock %}