title: Error in a Phoenix template list
body: <p>I'm trying to  extract values form a list (<code>&lt;%= @evento %&gt;</code>) in a template but I'm getting this error:  </p>
  
  <pre><code>lists in Phoenix.HTML and templates may only contain integers representing bytes, binaries or other lists, got invalid entry: %Skeleton.News.Evento{__meta__: #Ecto.Schema.Metadata&lt;:loaded, "news_eventos"&gt;, date: "DEZ 2011", id: 69, imgPaths: ["images/fabasa/eventos/one/1.jpg", "images/fabasa/eventos/one/2.jpg", "images/fabasa/eventos/one/3.jpg", "images/fabasa/eventos/one/10.jpg"], inserted_at: ~N[2017-06-30 12:38:15.452214],...  
  </code></pre>
  
  <p>So, my question is how to transform this in a datatype structure that I can still iterate in my template?</p>