Add basic form
parent
dc3897fe77
commit
746b8a97bf
|
@ -1,5 +1,30 @@
|
|||
extends layout
|
||||
|
||||
block content
|
||||
h1= title
|
||||
p Welcome to #{title}
|
||||
form(action='/submit', method='POST')
|
||||
span
|
||||
label Sport
|
||||
select(name="sport")
|
||||
option(value="football" selected) Football
|
||||
select(name="gender")
|
||||
option(value="male" selected) Male
|
||||
option(value="female") Female
|
||||
select(name="division")
|
||||
option(value="varsity") Varsity
|
||||
option(value="jv-a") JV-A
|
||||
option(value="jv-b") JV-B
|
||||
span
|
||||
label Home Team
|
||||
input(type="text", name="home-team")
|
||||
input(type="number", name="home-team-score")
|
||||
span
|
||||
label Visiting Team
|
||||
input(type="text", name="visiting-team")
|
||||
input(type="number", name="visiting-team-score")
|
||||
span
|
||||
label Submitter
|
||||
input(type="text", name="submitter")
|
||||
span
|
||||
label Send info to
|
||||
input(type="text", name="email", placeholder="email@example.com")
|
||||
button(type="submit") Submit
|
||||
|
|
Reference in New Issue