Skip to content

Commit 3f39bec

Browse files
committed
Tweaks
1 parent 0810b18 commit 3f39bec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

form/create_custom_field_type.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ rest of files):
367367
twig:
368368
form_themes:
369369
- 'form/custom_types.html.twig'
370+
- '...'
370371
371372
.. code-block:: xml
372373
@@ -382,6 +383,7 @@ rest of files):
382383
383384
<twig:config>
384385
<twig:form-theme>form/custom_types.html.twig</twig:form-theme>
386+
<twig:form-theme>...</twig:form-theme>
385387
</twig:config>
386388
</container>
387389
@@ -391,12 +393,13 @@ rest of files):
391393
$container->loadFromExtension('twig', [
392394
'form_themes' => [
393395
'form/custom_types.html.twig',
396+
'...',
394397
],
395398
]);
396399
397400
The last step is to create the actual Twig template that will render the type.
398401
The template contents depend on which HTML, CSS and JavaScript frameworks and
399-
libraries used in your application:
402+
libraries are used in your application:
400403

401404
.. code-block:: twig
402405

0 commit comments

Comments
 (0)