{% extends 'base.html' %} {% block content %} {% with messages = get_flashed_messages() %} {% if messages %} {% endif %} {% endwith %} {% for field, errors in upload_form.errors.items() %}
{{ upload_form[field].label }}: {{ ', '.join(errors) }}
{% endfor %}

{{ petname_message }}

Welcome, {{ petname }}. You are anonymous.

{% if generation_message %}

{{ generation_message }}

{% endif %}
{{ upload_form.csrf_token }}
{{ upload_form.metadata.label }}
{{ upload_form.metadata }}
{{ upload_form.title.label }}
{{ upload_form.title }}
{{ upload_form.authors.label }}
{{ upload_form.authors }}
{{ upload_form.comments.label }}
{{ upload_form.comments }}
{{ upload_form.timestamp.label }}
{{ upload_form.timestamp }}
{{ upload_form.tags.label }}
{{ upload_form.tags }}
{% endblock %}