Files
the-example-app-nodejs/views/settings.pug
2017-11-07 17:33:32 +01:00

26 lines
838 B
Plaintext

extends layout
block content
.wrapper
h1= title
p To query and get content using the APIs, client apllications need to authenticate iwth both the Space ID and an access token.
form(action=`/settings` method="POST" class="form")
.form-item
label(for="space") Space ID
input(type="text" name="space" value=settings.space)
.help-text Some help text we still need to define
.form-item
label(for="cda") Delivery API Key
input(type="text" name="cda" value=settings.cda)
.help-text Some help text we still need to define
.form-item
label(for="cpa") Preview API Key
input(type="text" name="cpa" value=settings.cpa)
.help-text Some help text we still need to define
.form-item
input.cta(type="submit" value="Load settings")