{% extends "base.html" %} {% block additional_js %} {% endblock %} {% block content %} {% set disabled = '' if admin or (not admin and not form.filename.data) else 'disabled' %}
{% if False and not admin and not form.filename.data %}

Warning: Any examples you create will be purged periodically.

To help the community and make new examples permanent, click the vote link next to any user created examples on the Examples list page - including your own.


{% endif %} {% if form.errors %}

Errors

{% for field in form if field.widget.input_type != 'hidden' %}

{% if field.errors %} {{ field.label }}: {% for error in field.errors %}{{ error }}{% if not loop.last %} - {% endif %}{% endfor %} {% endif %}

{% endfor %}
{% endif %}

{{ form.title.label }}: {{ form.title() }}

{{ form.source.label }}

{{ form.source(class_='python', id='id_python_text') }}

{{ form.description.label }}

{{ form.description(class_='description', id='id_description_text') }} {% if admin %}

Advanced

{% else %}
{{ form.filename() }} {{ form.public() }} {{ form.sortnum() }} {{ form.tags() }}
{% endif %}
{{ form.filename.label }} {{ form.filename() }}
{{ form.public.label }} {{ form.public() }}
{{ form.sortnum.label }} {{ form.sortnum() }}
{{ form.tags.label }} {{ form.tags() }}
{% if disabled %}

The ability to save this example has disabled because this example is protected by the admin.

If you are interested in creating useful examples of the community please contact Andy for rights.

{% endif %} {{ form.csrf_token }}
{% if example_id %}

Load in Converter Editor

View in Examples

{% endif %}
{% endblock %}