<commit_before>{% extends 'LadbCoreBundle:Common:_form.html.twig' %}

{% set navSection = 'workflows' %}

{% block bodyJavascripts %}
    {{ parent() }}
    {% include 'LadbCoreBundle:Wonder/Plan:_form-gallery-script.part.html.twig' with { 'fieldId':form.plans.vars.id, 'maxPlanCount':4 } %}
    {% include 'LadbCoreBundle:Common:_form-token-script.part.html.twig' with { 'fieldId':form.tags.vars.id, 'proposals':tagProposals, 'proposalsHelp':('tag.token.proposals.help'|trans()), 'help':('tag.token.help'|trans()), 'typeaheadSourcePath':(path('core_search_typeahead_tags_json')|raw) } %}
{% endblock %}

{% block sidenav %}
    {% include 'LadbCoreBundle:Common:_form-sidenav-title.part.html.twig' %}
    {% include 'LadbCoreBundle:Common:_form-sidenav-body.part.html.twig' %}
    {% include 'LadbCoreBundle:Core/Tag:_form-sidenav.part.html.twig' %}
    {% include 'LadbCoreBundle:Wonder/Plan:_form-sidenav-gallery.part.html.twig' %}
    {% include 'LadbCoreBundle:Core/License:_form-sidenav.part.html.twig' %}
{% endblock %}

{% block sections %}
    {{ parent() }}
    {% include 'LadbCoreBundle:Common:_form-section-title.part.html.twig' with { 'mandatory':true, 'help':('workflow.workflow.form.help.title'|trans()) } %}
    {% include 'LadbCoreBundle:Common:_form-section-body.part.html.twig' with { 'mandatory':(workflow is defined ? workflow.isPublic : false), 'help':('workflow.workflow.form.help.body'|trans()) } %}
    {% include 'LadbCoreBundle:Core/Tag:_form-section.part.html.twig' with { 'mandatory':(workflow is defined ? workflow.isPublic : false), 'help':('workflow.workflow.form.help.tags'|trans()) } %}
    {% include 'LadbCoreBundle:Wonder/Plan:_form-section-gallery.part.html.twig' with { 'maxPlanCount':4, 'help':('workflow.workflow.form.help.plans'|trans()) } %}
    {% include 'LadbCoreBundle:Core/License:_form-section.part.html.twig' with { 'form':form.license } %}
{% endblock %}<commit_msg>~ Workflow new form improvements<commit_after>{% extends 'LadbCoreBundle:Common:_form.html.twig' %}

{% set navSection = 'workflows' %}

{% block bodyJavascripts %}
    {{ parent() }}
    {% include 'LadbCoreBundle:Wonder/Plan:_form-gallery-script.part.html.twig' with { 'fieldId':form.plans.vars.id, 'maxPlanCount':4 } %}
    {% include 'LadbCoreBundle:Common:_form-token-script.part.html.twig' with { 'fieldId':form.tags.vars.id, 'proposals':tagProposals, 'proposalsHelp':('tag.token.proposals.help'|trans()), 'help':('tag.token.help'|trans()), 'typeaheadSourcePath':(path('core_search_typeahead_tags_json')|raw) } %}
{% endblock %}

{% block sidenav %}
    {% include 'LadbCoreBundle:Common:_form-sidenav-title.part.html.twig' %}
    {% include 'LadbCoreBundle:Common:_form-sidenav-body.part.html.twig' %}
    {% if workflow is not defined %}<div style="display:none">{% endif %}
        {% include 'LadbCoreBundle:Core/Tag:_form-sidenav.part.html.twig' %}
        {% include 'LadbCoreBundle:Wonder/Plan:_form-sidenav-gallery.part.html.twig' %}
        {% include 'LadbCoreBundle:Core/License:_form-sidenav.part.html.twig' %}
    {% if workflow is not defined %}</div>{% endif %}
{% endblock %}

{% block sections %}
    {{ parent() }}
    {% include 'LadbCoreBundle:Common:_form-section-title.part.html.twig' with { 'mandatory':true, 'help':('workflow.workflow.form.help.title'|trans()) } %}
    {% include 'LadbCoreBundle:Common:_form-section-body.part.html.twig' with { 'mandatory':(workflow is defined ? workflow.isPublic : false), 'help':('workflow.workflow.form.help.body'|trans()) } %}
    {% if workflow is not defined %}<div style="display:none">{% endif %}
        {% include 'LadbCoreBundle:Core/Tag:_form-section.part.html.twig' with { 'mandatory':(workflow is defined ? workflow.isPublic : false), 'help':('workflow.workflow.form.help.tags'|trans()) } %}
        {% include 'LadbCoreBundle:Wonder/Plan:_form-section-gallery.part.html.twig' with { 'maxPlanCount':4, 'help':('workflow.workflow.form.help.plans'|trans()) } %}
        {% include 'LadbCoreBundle:Core/License:_form-section.part.html.twig' with { 'form':form.license } %}
    {% if workflow is not defined %}</div>{% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.1927448609431681, 'fraction_numerical': 0.0009673518742442564, 'mean_word_length': 5.257186081694402, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2654392', 'n_tokens_mistral': 1552, 'n_tokens_neox': 1437, 'n_words': 178}