-
Notifications
You must be signed in to change notification settings - Fork 4
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
Init Bootstrap theme component #21
Conversation
8a8a471
to
23d1056
Compare
749dff3
to
21f26a0
Compare
ee30a5a
to
65bf43a
Compare
65bf43a
to
e28d2d2
Compare
@@ -3,3 +3,15 @@ twig_hooks: | |||
'app.base': | |||
content: | |||
template: 'base/content.html.twig' | |||
# 'sylius_admin.book.create.content': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We test the book creation without live component.
# props: | ||
# form: '@=_context.form' | ||
# resource: '@=_context.resource' | ||
'sylius_admin.book.update.content': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we test the book edition with a live component.
@@ -1,5 +1,7 @@ | |||
{% extends '@SyliusAdminUi/base.html.twig' %} | |||
|
|||
{% set metadata = resource_metadata|default(metadata) %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new resource_metadata is very closed to the legacy metadata.
On templates, we only need
- applicationName
- name
- pluralName
Based on #20