<commit_before>{% extends bap.layout %}
{% import 'OroNavigationBundle:Include:contentTags.html.twig' as navigationMacro %}
{% import 'OroUIBundle::macros.html.twig' as macros %}

{% oro_title_set({
    params : {
        '%section%': 'oro.workflow.workflowitem.entity_plural_label'|trans,
        '%entity%': workflow.label,
        '%workflow_data%': currentStep.label
    }
}) %}

{% set breadcrumbs = [{
    label: 'oro.workflow.workflowitem.entity_plural_label'|trans
}] %}

{% block breadcrumb %}
    {% include 'OroNavigationBundle:Menu:breadcrumbs.html.twig' %}
{% endblock %}

{% set titleParts = {
    'indexLabel': 'Workflows'|trans,
    'entityTitle': workflow.label ~ ' (' ~ currentStep.label ~ ')'
} %}

{% block content %}
    <style type="text/css">
        #pin-button-div {
            display: none !important;
        }

        /** Step form styles */
        .step-form .box-type1 {
            margin: 15px 0px;
            border-color: #d0d0d0;
        }

        .step-form .box-type1 .title {
            font-weight: normal;
            padding: 8px;
            background-color: #f2f2f2;
            border-bottom-color: #aaaaaa;
        }

        /** Bottom layout */
        .span6.no-margin {
            margin: 0 !important;
            width: 50%;
        }

        .workflow-data {
            border-top: 1px solid #d0d0d0;
        }

        .workflow-data.dark-bg {
            background: #fbfbfb;
        }

        .workflow-data > :first-child {
            border-right: 1px solid #d0d0d0;
        }

        .workflow-data > :last-child {
            border-left: 1px solid #d0d0d0;
            position: relative;
            left: -1px;
        }

        /** ImportExport styles */
        .workflow-data .box-type1 {
            border: none;
            background: inherit;
            margin-top: 20px;
        }

        .workflow-data .box-type1 .title {
            height: 1px;
            margin: 20px 0;
            padding: 0;
            position: relative;
            text-align: left;
            border-color: #d0d0d0;
        }

        .workflow-data .box-type1 .title .widget-title {
            background: #FBFBFB;
            display: inline-block;
            line-height: 15px;
            padding-right: 15px;
            position: relative;
            top: -0.6em;
        }

        .workflow-data .box-type1 .title .widget-actions-container {
            background: #FBFBFB;
            display: inline-block;
            line-height: 24px;
            position: relative;
            top: -0.8em;
        }
    </style>

    {% block workflow_header %}
    <div class="navigation clearfix navbar-extra navbar-extra-right" style="border-bottom: 1px solid #c8c8c8">
        <div class="row">
            <div class="pull-right">
                <div class="pull-left">
                    {% block workflow_transitions %}
                        {{ oro_widget_render({
                            'widgetType': 'buttons',
                            'url': path('oro_workflow_widget_buttons_wizard', {workflowItemId: workflowItem.id}),
                            'alias': 'workflow_transitions'
                        }) }}
                    {% endblock workflow_transitions %}

                    {% block workflow_actions %}
                    {% endblock workflow_actions %}
                </div>
            </div>
            <div class="span9">
                <div class="customer-info customer-simple well-small">
                    <div class="customer-content pull-left">
                        <div class="clearfix">
                            {% block workflow_title %}
                                <div class="pull-left">
                                    <div class="sub-title">
                                        {%- if titleParts.indexPath is defined -%}
                                            <a href="{{ titleParts.indexPath }}">{{ titleParts.indexLabel }}</a>
                                        {%- else -%}
                                            {{ titleParts.indexLabel }}
                                        {%- endif -%}
                                    </div>
                                    <span class="separator">/</span>
                                    {% if titleParts.additional is defined %}
                                        {% for titlePart in titleParts.additional %}
                                            <div class="sub-title"><a href="{{ titlePart.indexPath }}">{{ titlePart.indexLabel }}</a></div>
                                            <span class="separator">/</span>
                                        {% endfor %}
                                    {% endif %}
                                    <h1 class="user-name">{{ titleParts.entityTitle }}</h1>
                                </div>
                            {% endblock workflow_title %}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {% endblock %}<commit_msg>BAP-2616: Title padding on edit forms<commit_after>{% extends bap.layout %}
{% import 'OroNavigationBundle:Include:contentTags.html.twig' as navigationMacro %}
{% import 'OroUIBundle::macros.html.twig' as macros %}

{% oro_title_set({
    params : {
        '%section%': 'oro.workflow.workflowitem.entity_plural_label'|trans,
        '%entity%': workflow.label,
        '%workflow_data%': currentStep.label
    }
}) %}

{% set breadcrumbs = [{
    label: 'oro.workflow.workflowitem.entity_plural_label'|trans
}] %}

{% block breadcrumb %}
    {% include 'OroNavigationBundle:Menu:breadcrumbs.html.twig' %}
{% endblock %}

{% set titleParts = {
    'indexLabel': 'Workflows'|trans,
    'entityTitle': workflow.label ~ ' (' ~ currentStep.label ~ ')'
} %}

{% block content %}
    <style type="text/css">
        #pin-button-div {
            display: none !important;
        }
        .page-title h1 {
            min-height: initial;
        }

        /** Step form styles */
        .step-form .box-type1 {
            margin: 15px 0px;
            border-color: #d0d0d0;
        }

        .step-form .box-type1 .title {
            font-weight: normal;
            padding: 8px;
            background-color: #f2f2f2;
            border-bottom-color: #aaaaaa;
        }

        /** Bottom layout */
        .span6.no-margin {
            margin: 0 !important;
            width: 50%;
        }

        .workflow-data {
            border-top: 1px solid #d0d0d0;
        }

        .workflow-data.dark-bg {
            background: #fbfbfb;
        }

        .workflow-data > :first-child {
            border-right: 1px solid #d0d0d0;
        }

        .workflow-data > :last-child {
            border-left: 1px solid #d0d0d0;
            position: relative;
            left: -1px;
        }

        /** ImportExport styles */
        .workflow-data .box-type1 {
            border: none;
            background: inherit;
            margin-top: 20px;
        }

        .workflow-data .box-type1 .title {
            height: 1px;
            margin: 20px 0;
            padding: 0;
            position: relative;
            text-align: left;
            border-color: #d0d0d0;
            overflow: visible;
        }

        .workflow-data .box-type1 .title .widget-title {
            background: #FBFBFB;
            display: inline-block;
            line-height: 15px;
            padding-right: 15px;
            position: relative;
            top: -0.6em;
        }

        .workflow-data .box-type1 .title .widget-actions-container {
            background: #FBFBFB;
            display: inline-block;
            line-height: 24px;
            position: relative;
            top: -0.8em;
        }
    </style>

    {% block workflow_header %}
    <div class="container-fluid page-title" style="border-bottom: 1px solid #c8c8c8">
        <div class="navigation clearfix navbar-extra navbar-extra-right">
            <div class="row">
                <div class="span9">
                    <div class="customer-info customer-simple well-small">
                        <div class="customer-content pull-left">
                            <div class="clearfix">
                                {% block workflow_title %}
                                    <div class="pull-left">
                                        <div class="sub-title">
                                            {%- if titleParts.indexPath is defined -%}
                                                <a href="{{ titleParts.indexPath }}">{{ titleParts.indexLabel }}</a>
                                            {%- else -%}
                                                {{ titleParts.indexLabel }}
                                            {%- endif -%}
                                        </div>
                                        <span class="separator">/</span>
                                        {% if titleParts.additional is defined %}
                                            {% for titlePart in titleParts.additional %}
                                                <div class="sub-title"><a href="{{ titlePart.indexPath }}">{{ titlePart.indexLabel }}</a></div>
                                                <span class="separator">/</span>
                                            {% endfor %}
                                        {% endif %}
                                        <h1 class="user-name">{{ titleParts.entityTitle }}</h1>
                                    </div>
                                {% endblock workflow_title %}
                            </div>
                        </div>
                    </div>
                </div>
                <div class="pull-right title-buttons-container">
                    <div class="pull-left">
                        {% block workflow_transitions %}
                            {{ oro_widget_render({
                            'widgetType': 'buttons',
                            'url': path('oro_workflow_widget_buttons_wizard', {workflowItemId: workflowItem.id}),
                            'alias': 'workflow_transitions'
                            }) }}
                        {% endblock workflow_transitions %}

                        {% block workflow_actions %}
                        {% endblock workflow_actions %}
                    </div>
                </div>
            </div>
        </div>
    </div>
    {% endblock %}
{'fraction_non_alphanumeric': 0.11912196045037374, 'fraction_numerical': 0.01182704134733655, 'mean_word_length': 1.1250502613590672, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 58, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '984260', 'n_tokens_mistral': 2891, 'n_tokens_neox': 2661, 'n_words': 522}