|
|
- {% extends "base.html" %}
- {% import "bootstrap/wtf.html" as wtf %}
-
- {% block title %}Flasky{% endblock %}
-
- {% block page_content %}
- <div class="page-header">
- <h1>
- Hello, {% if current_user.is_authenticated %}{{ current_user.username }}{% else %}Stranger{% endif %}!
- </h1>
- </div>
- <div>
- {% if current_user.can(Permission.WRITE) %}
- {{ wtf.quick_form(form) }}
- {% endif %}
- </div>
-
- {% include '_posts.html' %}
- {% endblock %}
|