“Present Upload Progress, Previews, and Errors” describes this code example:
<%= for image <- @uploads.image.entries do %>
<div class="mt-4">
<.live_img_preview entry={image} width="60" />
</div>
<progress value={image.progress} max="100" />
After the code, the two-paragraph explanation ends with this sentence:
We don’t need to do anything else to make it work.
The next paragraph begins with one more thing needed to make it work, the <% end %>
tag:
Close that
<%= for ... %>
with an<% end %>
and view your product edit feature in the browser.