Last active
August 29, 2015 14:21
-
-
Save amutz/f64e453e7825cb55a042 to your computer and use it in GitHub Desktop.
Phoenix bug or misunderstanding?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div>This never gets output.</div> | |
<% if @value > 2 do %> | |
<%= "This will get output." %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above code will not output the div on line 1. I don't know if this is a bug, or if I don't understand Phoenix templates.