{% extends "base" %} {% import "macros" as macros %} {% block title %} {{ "Your media" | _ }} {% endblock title %} {% block content %}

{{ "Your media" | _ }}

Upload
{% if medias | length < 1 %}

{{ "You don't have any media yet." | _ }}

{% endif %}
{% for media in medias %}
{{ media.html_preview | safe }}

{{ media.alt_text }}

{{ "Delete" | _ }}
{% endfor %}
{# TODO: macros::paginate(page=page, total=n_pages) #}
{% endblock content %}