{% extends "::base.html.twig" %} {% block collection_widget %} {% spaceless %} {% if prototype is defined %} {% set attr = attr|merge({'data-prototype': block('collection_item_widget') }) %} {% endif %} {% set attr = attr|merge({'data-allow-add': allow_add ? 1 : 0}) %} {% set attr = attr|merge({'data-allow-remove': allow_delete ? 1 : 0 }) %} {% set attr = attr|merge({'data-name-prefix': full_name}) %} {% for rows in form %} {% endfor %}
OutputDetailsAction
{{ form_widget(rows.output) }}{{ form_errors(rows.output) }} {{ form_widget(rows.details) }}{{ form_errors(rows.details) }}
{% endspaceless %} {% endblock collection_widget %} {% block collection_item_widget %} {% spaceless %} {{ form_widget(prototype.output) }}{{ form_errors(prototype.output) }} {{ form_widget(prototype.details) }}{{ form_errors(prototype.details) }} {% endspaceless %} {% endblock collection_item_widget %} {% block button_widget %} {% spaceless %} {% if label is empty %} {% set label = name|humanize %} {% endif %} {% if add_cancel_btn %} {{ cancel_label|title }} {% endif %} {% if add_antispam_button %} {% endif %} {% endspaceless %} {% endblock button_widget %} {% block title 'Add/Edit Activity Blocks' %} {% form_theme form _self %} {% form_theme form.activityBlocks 'AlsuiteAssetsBundle:Form:collection-theme.html.twig' _self %} {% block content %}
Add/Edit Activity Blocks
{{ form_start(form) }} {# {{ form_row(form.output) }} #}
To add Activity Blocks, click Block
{{ form_row(form.activityBlocks) }}
{{ form_end(form) }}
{% endblock %} {% block javascripts %} {% endblock %}