This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
score-tracker/views/manage/addsport.pug

22 lines
683 B
Plaintext
Raw Permalink Normal View History

2021-11-26 19:37:09 +00:00
extends ../layout
2021-11-23 01:47:40 +00:00
block stylesheets
link(rel='stylesheet', href='/stylesheets/submit.css')
link(rel='stylesheet', href='/stylesheets/form.css')
block content
span#loading-message Loading...
form#submission-form(action='./sport', method='POST')
2021-11-23 01:47:40 +00:00
span(class='form-section')
label Sport name
span(class='form-section-input')
input#name-textbox(type="text" name="name" disabled)
2021-11-26 23:38:46 +00:00
.error #{message}
2021-11-23 01:47:40 +00:00
span(class='form-section')
button#submit-button(type="submit" disabled) Submit
span(class='form-section')
button#delete-button(disabled) Delete
2021-11-23 01:47:40 +00:00
block scripts
script(src='/scripts/manage/sport.js' type="module")