{% if config.DEBUG %}<span class="debug-hint" title="{{ self._TemplateReference__context.name }}">?</span>{% endif %}

<a 
    class="fake-button {{ content.name }}{% if content.css_class %} {{ content.css_class }}{% endif %}{% if content.disabled %} disabled{% endif %}"

    {% if not content.disabled %}href="#optin-{{ content.ref_id }}"{% endif %}
    title="{{ content.label }}"
    >{{ content.label }}</a>

<div id="optin-{{ content.ref_id }}" class="optin">
    <a class="optin-close" href="#"></a>
    <div class="optin-content">
        {{ content.message }}
        <button type="{{ content.type }}"
            {% if content.name %} name="{% if content.type == 'submit' %}submit{% else %}{{ content.name }}{% endif %}" {% endif %}
            {% if content.value %} value="{{ content.prefix }}.{{ content.value }}" {% endif %}
            {% if content.disabled %}disabled{% endif %}
        >{{ content.label }}</button>
    </div>
</div>
