{% if embed %}{% extends "base_blank_js.html" %}{% else %}{% extends "base.html" %}{% endif %}
{# Outputs the HTML form element for an image parameter,
where 'key' is an ImageAttrs field name. #}
{% macro input(key, default="", placeholder="") %}
{% set validator = fields[key][0] %}
{% set web_name = fields[key][1] %}
{% set typename = validator.__class__.__name__ %}
{% include ["publish/input_%s.html" % key,
"publish/input_%s.html" % typename,
"publish/input_default.html"] %}
{% endmacro %}
{# Outputs the HTML for a help icon. #}
{% macro help(anchor, classes="") %}
{% endmacro %}
{% block copyright %}
{% endblock %}
{% block title %}Publish {{ src }}{% endblock %}
{% block extra_head %}
{% if settings.DEBUG %}
{% else %}
{% endif%}
{% endblock %}
{% block body %}
{% if embed %}