<div class="ftr-container">
  {% if error is defined %}
    <div>
      {% if debug == 1 %}
        <span class="ftr-text--m ftr-block">{{ text_message_1 }}</span>
        <span class="ftr-text--s ftr-block">{{ text_message_2 }}</span>
        <pre>{{ dump(error) }}</pre>
      {% else %}
        <span class="ftr-text--m ftr-block">{{ text_message_3 }}</span>
        <span class="ftr-text--s ftr-block">{{ text_message_4 }}</span>
      {% endif %}
    </div>
  {% else %}
    <script>
      if (typeof loadSpecificSources != 'undefined') {
        loadSpecificSources({
          scripts: {{ scriptsApp }}
        });
      }
    </script> 
  {% endif %}
</div>
