-
+
This component is quite standard: the page number as a `LiveProp`, a `LiveAction`
to load the next page, and a `getItems` method to retrieve the page results.
diff --git a/ux.symfony.com/templates/demos/live_component/inline_edit.html.twig b/ux.symfony.com/templates/demos/live_component/inline_edit.html.twig
index 233b68f64fc..6a33ad5a044 100644
--- a/ux.symfony.com/templates/demos/live_component/inline_edit.html.twig
+++ b/ux.symfony.com/templates/demos/live_component/inline_edit.html.twig
@@ -1,7 +1,7 @@
{% extends 'demos/live_demo.html.twig' %}
{% block code_block_left %}
-
+
{% endblock %}
{% block code_block_right %}
diff --git a/ux.symfony.com/templates/demos/live_component/invoice.html.twig b/ux.symfony.com/templates/demos/live_component/invoice.html.twig
index 9d9340b397d..e04909d29c2 100644
--- a/ux.symfony.com/templates/demos/live_component/invoice.html.twig
+++ b/ux.symfony.com/templates/demos/live_component/invoice.html.twig
@@ -1,7 +1,7 @@
{% extends 'demos/live_demo.html.twig' %}
{% block code_block_full %}
-
+
## Main Component
This main component keeps track of the `Invoice` (which may be new) and
@@ -30,7 +30,7 @@ data: `productId`, `quantity`, and `isEditing`. It also passes a `key`,
which is needed so LiveComponents can track which row is which.
-
+
## Child Component
The child component for each "line item". This handles validating, saving,
diff --git a/ux.symfony.com/templates/demos/live_component/product_form.html.twig b/ux.symfony.com/templates/demos/live_component/product_form.html.twig
index 6aad5da5a10..c1c3a6f6bb7 100644
--- a/ux.symfony.com/templates/demos/live_component/product_form.html.twig
+++ b/ux.symfony.com/templates/demos/live_component/product_form.html.twig
@@ -5,7 +5,7 @@
{% endblock %}
{% block code_block_full %}
-
+
## New Product Form
Live component with a form, `ValidatableComponentTrait` and a
@@ -31,7 +31,7 @@ and `data-bs-target="#new-category-modal"`.
## New Category Form
@@ -45,7 +45,7 @@ the new `Category` to the database and then does two important things:
diff --git a/ux.symfony.com/templates/demos/live_component/upload.html.twig b/ux.symfony.com/templates/demos/live_component/upload.html.twig
index 246d47b8a03..1306e5cb08c 100644
--- a/ux.symfony.com/templates/demos/live_component/upload.html.twig
+++ b/ux.symfony.com/templates/demos/live_component/upload.html.twig
@@ -1,7 +1,7 @@
{% extends 'demos/live_demo.html.twig' %}
{% block code_block_left %}
-
+
{% endblock %}
{% block code_block_right %}
diff --git a/ux.symfony.com/templates/demos/live_component/voting.html.twig b/ux.symfony.com/templates/demos/live_component/voting.html.twig
index 34da62e0748..b96ad479bbf 100644
--- a/ux.symfony.com/templates/demos/live_component/voting.html.twig
+++ b/ux.symfony.com/templates/demos/live_component/voting.html.twig
@@ -1,7 +1,7 @@
{% extends 'demos/live_demo.html.twig' %}
{% block code_block_left %}
-
+
{% endblock %}
{% block code_block_right %}
diff --git a/ux.symfony.com/templates/ux_packages/live_component.html.twig b/ux.symfony.com/templates/ux_packages/live_component.html.twig
index b8eb5a286a8..30b994903f9 100644
--- a/ux.symfony.com/templates/ux_packages/live_component.html.twig
+++ b/ux.symfony.com/templates/ux_packages/live_component.html.twig
@@ -16,7 +16,7 @@
{% endblock %}
{% block code_block_left %}
-
+
{% endblock %}
{% block code_block_right %}
diff --git a/ux.symfony.com/templates/ux_packages/twig_component.html.twig b/ux.symfony.com/templates/ux_packages/twig_component.html.twig
index 91da8abbc18..eeb33821f3f 100644
--- a/ux.symfony.com/templates/ux_packages/twig_component.html.twig
+++ b/ux.symfony.com/templates/ux_packages/twig_component.html.twig
@@ -16,7 +16,7 @@
{% endblock %}
{% block code_block_left %}
-
+
{% endblock %}
{% block code_block_right %}
diff --git a/ux.symfony.com/tests/Twig/Components/ChangelogItemTest.php b/ux.symfony.com/tests/Twig/Components/ChangelogItemTest.php
index 6cfe54df87d..746f5d66e04 100644
--- a/ux.symfony.com/tests/Twig/Components/ChangelogItemTest.php
+++ b/ux.symfony.com/tests/Twig/Components/ChangelogItemTest.php
@@ -9,9 +9,9 @@
* file that was distributed with this source code.
*/
-namespace App\Tests\Twig\Components;
+namespace App\Tests\Twig\Component;
-use App\Twig\Components\ChangelogItem;
+use App\Twig\Component\ChangelogItem;
use PHPUnit\Framework\TestCase;
class ChangelogItemTest extends TestCase