From 2faf5e9927d5912cb185df0534501ffffae4e603 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Fri, 24 Nov 2023 13:44:40 +0100 Subject: [PATCH] Apply consistent indentation in Heex template example (#5646) --- guides/contexts.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guides/contexts.md b/guides/contexts.md index 5079be2555..e315fa718c 100644 --- a/guides/contexts.md +++ b/guides/contexts.md @@ -936,10 +936,10 @@ Next we can create the template at `lib/hello_web/controllers/cart_html/show.htm ```heex <%= if @cart.items == [] do %> -<.header> - My Cart - <:subtitle>Your cart is empty - + <.header> + My Cart + <:subtitle>Your cart is empty + <% else %> <.header> My Cart