I'm new to slim and there are little things that I don't understand and I don't find answers in the documentation.
linebreak - How can I add this at the end of a line? For example:
<%= name %><br/>
<%= address %><br/>
How can I combine pure html and ruby on the same line? For example:
<p>New building <% if building.ownver %> for <%= owner %><% end %></p>
I know, I must have missed something but there is no real tutorial out there.
BTW, There is no emulator to convert erb to slim?
Thanks.
New building <%= "for #{owner}" if building.owner %>
` rather than `New building <% if building.owner %> for <%= owner %><% end %>
` for these scenarios. – James Chevalier Jul 17 '13 at 16:51