Skip to content

Commit

Permalink
Apply consistent indentation in Heex template example (phoenixframewo…
Browse files Browse the repository at this point in the history
  • Loading branch information
rhcarvalho authored Nov 24, 2023
1 parent 1040d80 commit 2faf5e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions guides/contexts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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</:subtitle>
</.header>
<.header>
My Cart
<:subtitle>Your cart is empty</:subtitle>
</.header>
<% else %>
<.header>
My Cart
Expand Down

0 comments on commit 2faf5e9

Please sign in to comment.