Skip to content

Commit 5f333b6

Browse files
committed
Updates to documentation
1 parent d2f2ffd commit 5f333b6

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

.idea/AngularMaterialBundle.iml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Wire-Up Material Stylesheets
9393
Wire-Up the Form Template
9494
-------------------------
9595

96+
Symfony 2.x
97+
9698
```yaml
9799
# Twig Configuration
98100
twig:
@@ -101,6 +103,16 @@ Wire-Up the Form Template
101103
resources: ['@Curiosity26AngularMaterialBundle/Resources/Form/material_1_layout.html.twig']
102104
```
103105
106+
Symfony 3.x
107+
108+
```yaml
109+
# Twig Configuration
110+
twig:
111+
# ...
112+
form_themes:
113+
- '@Curiosity26AngularMaterialBundle/Resources/Form/material_1_layout.html.twig'
114+
```
115+
104116
Create Your Angular App
105117
-----------------------
106118

Resources/doc/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ Wire-Up Material Stylesheets
9090
Wire-Up the Form Template
9191
-------------------------
9292

93+
Symfony 2.x
94+
9395
.. code-block:: yaml
9496
# Twig Configuration
9597
twig:
@@ -98,6 +100,16 @@ Wire-Up the Form Template
98100
resources: ['@Curiosity26AngularMaterialBundle/Resources/Form/material_1_layout.html.twig']
99101
..
100102
103+
Symfony 3.x
104+
105+
.. code-block:: yaml
106+
# Twig Configuration
107+
twig:
108+
# ...
109+
form_themes:
110+
- '@Curiosity26AngularMaterialBundle/Resources/Form/material_1_layout.html.twig'
111+
..
112+
101113
Create Your Angular App
102114
-----------------------
103115

0 commit comments

Comments
 (0)