pokemon-couture/lib/pokemon_couture_web/live/clothes_tracker_live.html.leex

4 lines
172 B
Plaintext

<h1>The light is <%= @light_bulb_status %>.</h1>
<button phx-click="on" <%= @on_button_status %>>On</button>
<button phx-click="off" <%= @off_button_status %>>Off</button>