Skip to content

Instantly share code, notes, and snippets.

@krokrob
Created May 9, 2016 16:38
Show Gist options
  • Save krokrob/f9f448882196e7c0089dbcf8473d159b to your computer and use it in GitHub Desktop.
Save krokrob/f9f448882196e7c0089dbcf8473d159b to your computer and use it in GitHub Desktop.
<h1>Welcome to the longuest word!</h1>
<h2><%= @grid.join(" ") %></h2>
<form action="score">
<input type="text" name="guess" placeholder="What's your best shot?">
<input type="hidden" value=<%= @grid.join("") %> name="grid">
<input type="hidden" value="<%= @start_time %>" name="start_time">
<input type="submit" value="send">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment