Browse Source

"simplest way" -> "preferred way"

Matt Westcott 3 years ago
parent
commit
1155373d72
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/extending/template_components.md

+ 2 - 2
docs/extending/template_components.md

@@ -22,7 +22,7 @@ A (possibly empty) :doc:`form media <django:topics/forms/media>` object defining
 ```
 ## Creating components
 
-The simplest way to create a component is to define a subclass of `wagtail.admin.ui.components.Component` and specify a `template_name` attribute on it. The rendered template will then be used as the component's HTML representation:
+The preferred way to create a component is to define a subclass of `wagtail.admin.ui.components.Component` and specify a `template_name` attribute on it. The rendered template will then be used as the component's HTML representation:
 
 ```python
 from wagtail.admin.ui.components import Component
@@ -158,4 +158,4 @@ def welcome_page(request):
         {% component panel %}
     {% endfor %}
 {% endblock %}
-```
+```