Add textbox in game submissions for submitter name

main
sudoer777 2021-12-06 11:32:58 -07:00
parent 7f6fd92abc
commit 0e6c121292
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,11 @@ block content
label Score label Score
span(class='form-section-input') span(class='form-section-input')
input#team2-score-textbox(type="number", name="team2-score", value="0" disabled) input#team2-score-textbox(type="number", name="team2-score", value="0" disabled)
if !userLoggedIn
span(class='form-section')
label Your name
span(class='form-section-input')
input#name-input(type="text" name="name" disabled)
.error #{message} .error #{message}
span(class='form-section') span(class='form-section')
button#submit-button(type="submit" disabled) Submit button#submit-button(type="submit" disabled) Submit