Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing UI macro imports #262

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backend/entities/crud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ The template that is responsible for displaying the form fields should extend th
{# reuse the form theme provided with OroPlatform #}
{% form_theme form with '@OroForm/Form/fields.html.twig' %}

{% import '@OroUI/macros.html.twig' as UI %}

{# make the current task accessible with the task variable #}
{% set task = form.vars.value %}

Expand Down Expand Up @@ -224,6 +226,7 @@ The base ``@OroUI/actions/index.html.twig`` template from the OroUIBundle that y
:caption: src/Acme/Bundle/DemoBundle/Resources/views/Task/index.html.twig

{% extends '@OroUI/actions/index.html.twig' %}
{% import '@OroUI/macros.html.twig' as UI %}

{% set gridName = 'acme-tasks-grid' %}
{% set pageTitle = 'Task' %}
Expand Down