Browse Source

fix user edit form

pull/1/head
Rob Colbert 3 years ago
parent
commit
6adfbc014f
  1. 2
      app/views/admin/user/form.pug

2
app/views/admin/user/form.pug

@ -3,13 +3,13 @@ block content
div(uk-grid).uk-grid-small div(uk-grid).uk-grid-small
div(class="uk-width-1-1 uk-width-2-3@l") div(class="uk-width-1-1 uk-width-2-3@l")
form(method="POST", action=`/admin/user/${userAccount._id}`).uk-form
.uk-card.uk-card-secondary.uk-card-small .uk-card.uk-card-secondary.uk-card-small
.uk-card-header .uk-card-header
.uk-text-large= userAccount.displayName || userAccount.email .uk-text-large= userAccount.displayName || userAccount.email
div= userAccount.username div= userAccount.username
.uk-card-body .uk-card-body
form(method="POST", action=`/admin/user/${userAccount._id}`).uk-form
input(type="hidden", name="username", value= userAccount.username) input(type="hidden", name="username", value= userAccount.username)
input(type="hidden", name="displayName", value= userAccount.displayName) input(type="hidden", name="displayName", value= userAccount.displayName)
.uk-margin .uk-margin

Loading…
Cancel
Save