Skip to content

Commit

Permalink
Changed form input type to 'button' for cells that have been marked
Browse files Browse the repository at this point in the history
  • Loading branch information
lisahamm committed Mar 26, 2015
1 parent 66fb1bf commit f6e336b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/board.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<input id="cell-btn" type="submit" value="___" />
</form>
<% else %>
<form action="/make_move" method="POST">
<input id="cell-btn" type="submit" name="<%= cell.index %>" value=" <%= cell.symbol %> " readonly />
<form action="/make_move" >
<input id="cell-btn" type="button" name="<%= cell.index %>" value=" <%= cell.symbol %> " readonly />
</form>
<% end %>
</form>
Expand Down

0 comments on commit f6e336b

Please sign in to comment.