{{ csrf() }}
{# Honeypot field for bots to get caught #} {{ form.your_name }} {{ field(form.name, _('Name:'), class='long') }} {% if form.slug %}

{{ form.slug.errors }} {% set username = collection.author_username if collection else user.username %} {% set slug_base = url('collections.user', username)|absolutify %} {{ slug_base }}{{ form.slug }} {{ slug_base }}{% if collection and collection.slug %}{{ collection.slug }}{% endif %} {{ _('Edit') }}

{% endif %}

{{ form.description.errors }} {{ form.description }}

{{ form.listed }}
{% if collection %}
{{ _('Collection Icon') }} {% if collection.icontype %} {{ _('Reset') }} {% endif %}
{% endif %} {{ form.icon.errors }} {{ form.icon }}

{{ _('PNG and JPG supported. Image will be resized to 32x32.') }}