{% 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 %}
Output Weight
This is how much percent this output contributes to the outcome
Starts On Ends On Position
This is the position number at which this output will be listed in the outcome outputs
SP Output
{{ form_widget(rows.output) }}{{ form_errors(rows.output) }} {{ form_widget(rows.weight) }}{{ form_errors(rows.weight) }} {{ form_widget(rows.startsOn) }}{{ form_errors(rows.startsOn) }} {{ form_widget(rows.endsOn) }}{{ form_errors(rows.endsOn) }} {{ form_widget(rows.position) }}{{ form_errors(rows.position) }} {{ form_widget(rows.spOutput) }}{{ form_errors(rows.spOutput) }}
{% endspaceless %} {% endblock collection_widget %} {% block collection_item_widget %} {% spaceless %} {{ form_widget(prototype.output) }}{{ form_errors(prototype.output) }} {{ form_widget(prototype.weight) }}{{ form_errors(prototype.weight) }} {{ form_widget(prototype.startsOn) }}{{ form_errors(prototype.startsOn) }} {{ form_widget(prototype.endsOn) }}{{ form_errors(prototype.endsOn) }} {{ form_widget(prototype.position) }}{{ form_errors(prototype.position) }} {{ form_widget(prototype.spOutput) }}{{ form_errors(prototype.spOutput) }} {% 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 %} {% form_theme form _self %} {% form_theme form.outputs 'AlsuiteAssetsBundle:Form:collection-theme.html.twig' _self %} {% block title pageTitle %} {% block submenu %} {{ include('AlsuiteBackendBundle:BreadCrumbs:logframe.html.twig') }} {% endblock %} {% block content %} {% set project = outcome.project %}
Add Outputs
Outcome{{ outcome.outcome }}
Project{{ project.name }}
Project Period {{ project.startsOn|date(date_format) ~ ' to ' ~ project.endsOn|date(date_format)}}
Please ensure that the output dates are within this period.
{{ form_start(form) }}
To add an output, click Output
{{ form_row(form.outputs) }}
{% endblock %} {% block javascripts %} {{ form_javascript(form) }} {% endblock %}