Add a /app/templates/users/profile.html

Brian Brooks 2013-06-29 13:55:31 -07:00
parent cb0c689fe9
commit 468d17c1bc

@ -387,6 +387,15 @@ Those templates will use a macro to automate the construction of html fields. Th
{% endmacro %} {% endmacro %}
``` ```
Finally, a simple `/app/templates/users/profile.html`:
```jinja
{% extends "base.html" %}
{% block content %}
Hi {{ user.name }}!
{% endblock %}
```
## Setting up the app ## Setting up the app
Here is the `/app/__init__.py` : Here is the `/app/__init__.py` :