{% extends "base.html" %} {% block content %}
Preview App
{% if exceptions %}
Validation Error

{% for error in exceptions %} {% if error.error %}
{{ error.error }}
{% else %}
{{ error }}
{% endif %} {% endfor %} {% else %} {% if warnings.get("missing_loadsdk") %} {% endif %}
App Info

Name :
{{ title }}

App Options

The user of this app will be able to configure the following options.

{% set attrsection = namespace(is_open=false) %} {% for field in form -%} {% if field.label.field_id.startswith("_attr_") and not attrsection.is_open %} {% set attrsection.is_open = True %}
App Attributes
Check the App Attributes API documentation for how to declare and access attributes.

This app contains attributes that are connected to the following player attributes. The user will have to choose which player attributes to connect to.

{% elif attrsection.is_open and not field.label.field_id.startswith("_attr_") %} {% set attrsection.is_open = False %}
{% elif field.label.field_id == "_delay_show" %}
{% endif %} {% if field.widget.input_type == "checkbox" -%}
{{ field() }} {% if field.label.field_id.startswith("_attr_") and not field.flags.required %} [optional] {% endif %} {% else -%}
{% if field.label.field_id == "_playback_info" %}     {% endif %} {{ field() }} {% endif -%} {% for error in field.errors -%}
{{ error }}
{% endfor -%} {% if field.description -%} {{ field.description }} {% endif -%}
{% endfor %}
{% endif %}
{% endblock %}