# Conditional rendering in LiveView template

**URL:** <https://forum.elixirforum.com/t/conditional-rendering-in-liveview-template/30737>\
**Category:** Questions\
**Tags:** phoenix, templates, liveview\
**Created:** [April 18, 2020, 4:29pm UTC](https://forum.elixirforum.com/t/conditional-rendering-in-liveview-template/30737 "2020-04-18T16:29:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![kminevskiy](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kminevskiy/32/15479_2.png) [@kminevskiy](https://forum.elixirforum.com/u/kminevskiy)\
**Post date:** [April 18, 2020, 9:08pm UTC](https://forum.elixirforum.com/t/conditional-rendering-in-liveview-template/30737/7 "2020-04-18T21:08:27Z")

</div>

Thanks for your suggestions.

I remember a few days ago, after I updated the LiveView package, I started the app as usual and was surprised that I couldn’t see the form. Spent some time and through trial and error I found that weird behavior.

`IO.inspect(@users)` returns a list of maps. Nothing special about it. Plus, I don’t render it in the form - I simply check the length of it and render the form based on the length.

---

_[View the full topic](https://forum.elixirforum.com/t/conditional-rendering-in-liveview-template/30737)._
