mirror of
https://github.com/rmontanana/microblog.git
synced 2025-08-17 00:05:51 +00:00
549 B
549 B
{% extends 'base.html' %}
{% block content %}
Hi, {{ current_user.username }}!
{% if form %} {{ form.hidden_tag() }}
{{ form.post.label }}
{{ form.post(cols = 32, rows = 4) }}
{% for error in form.post.errors %}
[{{ error }}]
{% endfor %}
{{ form.submit() }}
{% endif %} {% for post in posts %} {% include "_post.html" %} {% endfor %} {% endblock %}s