public
Created

Riddle

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@@show
h1== @riddle.title
h2 Markup
== @riddle.html
h2 Styles
== @riddle.css
h2 Javascript
== @riddle.js
 
@@new
form action="/riddle" method="POST"
label for="title" Title
input#title name="riddle[title]"
label for="html" HTML
textarea#html cols=60 rows=10 name="riddle[html]"
label for="css" CSS
textarea#css cols=60 rows=10 name="riddle[css]"
label for="js" JS
textarea#js cols=60 rows=10 name="riddle[js]"
input.button type="submit" value="Save"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.