/ Published in: Ruby
if then statement... in a view file *.html.erb:
Expand |
Embed | Plain Text
<td><% if color.current == "1" %>Yes<% end %></td>
You need to login to post a comment.
if then statement... in a view file *.html.erb:
<td><% if color.current == "1" %>Yes<% end %></td>
You need to login to post a comment.