Created
May 9, 2011 23:32
-
-
Save mjansen401/963639 to your computer and use it in GitHub Desktop.
_board.html.erb
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
<table class="board"> | |
<tr> | |
<%= render :partial => 'games/square', :locals => {:location => '0'}%> | |
<%= render :partial => 'games/square', :locals => {:location => '1'}%> | |
<%= render :partial => 'games/square', :locals => {:location => '2'}%> | |
</tr> | |
<tr> | |
<%= render :partial => 'games/square', :locals => {:location => '3'}%> | |
<%= render :partial => 'games/square', :locals => {:location => '4'}%> | |
<%= render :partial => 'games/square', :locals => {:location => '5'}%> | |
</tr> | |
<tr> | |
<%= render :partial => 'games/square', :locals => {:location => '6'}%> | |
<%= render :partial => 'games/square', :locals => {:location => '7'}%> | |
<%= render :partial => 'games/square', :locals => {:location => '8'}%> | |
</tr> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment