{% extends bap.layout is defined ? bap.layout : 'OroUserBundle::layout.html.twig' %}

{% block head_script %}
    {{ parent() }}

    {% include 'OroGridBundle:Include:javascript.html.twig' with {'datagridView': datagridz, 'selector': '#users-grid'} %}
    {% include 'OroGridBundle:Include:stylesheet.html.twig' %}
{% endblock %}

{% block page_container %}
<div class="container-fluid">
    {% block content %}
    <h1>{{ 'Users overview'|trans }} <a class="btn btn-primary pull-right" href="{{ path('oro_user_create', { back: app.request.uri }) }}">{{ 'Add new'|trans }}</a></h1>
    <div id="users-grid"></div>
    {% endblock %}
</div>
{% endblock %}

{% extends bap.layout is defined ? bap.layout : 'OroUserBundle::layout.html.twig' %}

{% block head_script %}
    {{ parent() }}

    {% include 'OroGridBundle:Include:javascript.html.twig' with {'datagridView': datagrid, 'selector': '#users-grid'} %}
    {% include 'OroGridBundle:Include:stylesheet.html.twig' %}
{% endblock %}

{% block page_container %}
<div class="container-fluid">
    {% block content %}
    <h1>{{ 'Users overview'|trans }} <a class="btn btn-primary pull-right" href="{{ path('oro_user_create', { back: app.request.uri }) }}">{{ 'Add new'|trans }}</a></h1>
    <div id="users-grid"></div>
    {% endblock %}
</div>
{% endblock %}

Refactor all invocations of Datagrid::getForm - fixed datagrid variable name in user template
BAP-503: Refactor all invocations of Datagrid::getForm
 - fixed datagrid variable name in user template
