|
|
@ -6,8 +6,6 @@ block content |
|
|
|
div(uk-grid).uk-grid-small |
|
|
|
div(class="uk-width-1-1 uk-width-2-3@l") |
|
|
|
form(method="POST", action=`/admin/user/local/${userAccount._id}`).uk-form |
|
|
|
input(type="hidden", name="username", value= userAccount.username) |
|
|
|
input(type="hidden", name="displayName", value= userAccount.displayName) |
|
|
|
.uk-card.uk-card-default.uk-card-small |
|
|
|
.uk-card-header |
|
|
|
div(uk-grid).uk-grid-small.uk-flex-middle |
|
|
@ -23,6 +21,14 @@ block content |
|
|
|
a(href=`/user/${userAccount.username}`) @#{userAccount.username} |
|
|
|
|
|
|
|
.uk-card-body |
|
|
|
.uk-margin |
|
|
|
label(for="username").uk-form-label Username |
|
|
|
input(id="username", name="username", type="text", value= userAccount.username).uk-input |
|
|
|
|
|
|
|
.uk-margin |
|
|
|
label(for="display-name").uk-form-label Display name |
|
|
|
input(id="display-name", name="displayName", type="text", value= userAccount.displayName).uk-input |
|
|
|
|
|
|
|
.uk-margin |
|
|
|
label(for="bio").uk-form-label Bio |
|
|
|
textarea(id="bio", name="bio", rows="3", placeholder="Enter profile bio").uk-textarea= userAccount.bio |
|
|
|