{% set form_id = form_id ? form_id : 'blueprints' %} {% set scope = scope ?: 'data.' %}
{% for field in blueprints.fields %} {% if field.type %} {% set value = field.name ? (form.value(field.name) ?? data.value(field.name)) : data.toArray %}
{% include ["forms/fields/#{field.type}/#{field.type}.html.twig", 'forms/fields/text/text.html.twig'] %}
{% endif %} {% endfor %}
{{ nonce_field('admin-form', 'admin-nonce')|raw }}