blueprints-new.html.twig 691 B

1234567891011121314151617
  1. {% set form_id = form_id ? form_id : 'blueprints' %}
  2. <form id="{{ form_id }}" method="post" data-grav-form="{{ form_id }}" data-grav-keepalive="true">
  3. {% for field in blueprints.fields %}
  4. {% if field.type %}
  5. {% set value = data.value(field.name) %}
  6. <div class="block block-{{field.type}}">
  7. {% include ["forms/fields/#{field.type}/#{field.type}.html.twig", 'forms/fields/text/text.html.twig'] %}
  8. </div>
  9. {% endif %}
  10. {% endfor %}
  11. <input type="hidden" name="task" value="continue" />
  12. <div class="button-bar">
  13. <button class="button primary">{{ "PLUGIN_ADMIN.CONTINUE"|tu }}</button>
  14. </div>
  15. </form>