infinitered / thesis-phoenix

A lightweight, bolt-on, intuitive content editing system for Elixir/Phoenix websites. Star this repo and follow along with our progress!
Other
645 stars 62 forks source link

View.content doesn't work with additional attributes #158

Closed MikeAndrianov closed 5 years ago

MikeAndrianov commented 5 years ago

Currently you can't pass some options (like it specified in the readme) because error is present: undefined function content/5 while trying to run some code from the Readme:

<%= content(@conn, "Ident", :html, id: "my-id", classes: "more classes") do %>
  <h1>Title</h1>
<% end %>

Here is PR that should fix it: https://github.com/infinitered/thesis-phoenix/pull/157

jamonholmgren commented 5 years ago

Fixed in 0.3.2 -- thanks!