In the web I've seen examples both with
<% if @showIt -%>
some html content
<% end -%>
and without
<% if @showIt %>
some html content
<% end %>
dash. Both versions work very well. So, what difference does it make?
Thanks!
In the web I've seen examples both with
<% if @showIt -%>
some html content
<% end -%>
and without
<% if @showIt %>
some html content
<% end %>
dash. Both versions work very well. So, what difference does it make?
Thanks!