Diff: [root] @ 17c290be3f9 | faq | css

Reroll form

File: scripts/facshuf.erb [Diff]

-- a/scripts/facshuf.erb++ b/scripts/facshuf.erb
@@ -2,6 +2,9 @@

<p> Makes sure you get your fair share of alien adversaries! </p>

<form action="" method="get">
<p> Player number: <input type="number" name="players" min="1" max="7" value=<%=params[:players] || 2%> /> <input type="submit" value="reroll" /> </p>
</form>
<p>Player <strong><%= rand((params[:players] || 2).to_i) %></strong> is hosting </p>

<%

By Voker57 on 2014-09-08 14:17:33 +0000