{% extends "freeform/_layouts/settings" %} {% import "_includes/forms" as forms %} {% set selectedSubnavItem = "settings" %} {% set title = "Demo Templates"|t('freeform') %} {% macro listFiles(file) %} {% import _self as dir %} {% set isFolder = file.isFolder %}
  • {{ file.name }} {% if isFolder %} {% endif %}
  • {% endmacro %} {% import _self as dir %} {% block actionButton %}{% endblock %} {% block content %}
    {{ redirectInput('freeform/settings/demo-templates') }}

    {{ "Demo Templates"|t('freeform') }}

    {% if exceptionMessage is defined %} {% endif %}
    {{ forms.textField({ label: "Install Path"|t('freeform'), id: 'prefix', name: 'prefix', value: prefix, autofocus: true }) }}
    {{ exceptionMessage|raw }}
    {% if codePack.templates %}

    {{ "Templates"|t('freeform') }}

    {% endif %} {% if codePack.assets %}

    {{ "Assets"|t('freeform') }}

    {% endif %} {% if codePack.routes.data %}

    {{ "Routes"|t('freeform') }}

    {% endif %}
    {% endblock %}