adejs/controllers/settings/templates/settings.pug

35 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-09-24 01:03:25 +02:00
extends ../../../templates/base.pug
block content
form(method="POST", action=getUrl("settingsTarget"))
.form-group.row
.col-2
label.col-2.col-form-label(for="username") Username
.col-6
input.form-control(type="text", value=session.user._username.value, disabled, name="username", id="username")
.col-2
.form-group.row
.col-2
label.col-2.col-form-label(for="email") Email
.col-6
input.form-control(type="email", value=session.user._email.value, disabled, name="email", id="email")
.col-2
.form-group.row
.col-2
label.col-2.col-form-label(for="resources") Resources
.col-6
input.form-control(type="number", value=session.user._resources.value, name="resources", id="resources")
.col-2
.form-group.row
.col-2
label.col-2.col-form-label(for="projectId") Project id
.col-6
input.form-control(type="number", value=session.user._projectId.value, name="projectId", id="projectId")
.col-2
.form-group.row
.col-4
.col-4
input.btn.btn-primary.form-control(type="submit", value="Submit")
.col-4