phoenix_slime
phoenix_slime copied to clipboard
Phoenix Template Engine for Slime
Freshly created Phoenix project, when trying to run `mix phoenix.gen.layout.slime` I'm receiving this error ```** (UndefinedFunctionError) function Mix.Phoenix.copy_from/5 is undefined or private. Did you mean one of:``` * copy_from/4 Mix.Phoenix.copy_from([".",...
## Environment: * Erlang/OTP 20 * Elixir 1.5.1 * Phoenix 1.3.0 * Phoenix HTML 2.10.4 * Phoenix Slime 0.9.0 * Slime 0.16.0 * System 4.12.8-1-ARCH ## Expected behaviour String interpolation...
It works if the file exist when the server starts, but when I create a new file I have to restart the server.
Explicitly writing out tags and using a #{} structure causes the entire block to not render properly
`a href="#{page_path(@conn, :index)}"` Generates the link as expected. `` Causes the tag to be rendered out in plain text onto the page. In addition, ANY other tags or HTML style...
I'm trying to use Slime templates in Bamboo and here is what I get. I suppose that `render_to_string` expects a binary, not a safe string. `Phoenix.Template.EExEngine` works fine here. ```...