Return to Snippet

Revision: 40439
at February 2, 2011 06:06 by brandonjp


Initial Code
<td><% if color.current == "1" %>Yes<% end %></td>

Initial URL

                                

Initial Description
if then statement...  in a view file *.html.erb:

Initial Title
Ruby / Rails - example of if then statement...  in a view file *.html.erb:

Initial Tags
rails, ruby

Initial Language
Ruby