2020-12-03 17:58:36 +01:00
|
|
|
<div class="users-edit">
|
|
|
|
<header>
|
2021-01-04 22:24:32 +01:00
|
|
|
<h2>User: ${username}</h2>
|
2020-12-03 17:58:36 +01:00
|
|
|
</header>
|
2020-12-08 16:38:01 +01:00
|
|
|
<div>
|
2020-12-03 17:58:36 +01:00
|
|
|
<span data-link="/users" class="icon-text">
|
|
|
|
{include(includes/svg;class=back-arrow;icon=vt-arrow-back)}
|
|
|
|
</span>
|
2020-12-08 16:38:01 +01:00
|
|
|
</div>
|
2021-01-04 22:24:32 +01:00
|
|
|
|
|
|
|
<h3>User-Data</h3>
|
|
|
|
<form id="user-form" data-id="${id}">
|
|
|
|
<div class="spacer">
|
|
|
|
{include(includes/input;class=input-group;label=Username;name=username;error=Username is required;default=$username)}
|
|
|
|
{include(includes/input;class=input-group;label=Firstname;name=firstname;error=Firstname is required;default=$firstname;classes=spacer)}
|
|
|
|
{include(includes/input;class=input-group;label=Lastname;name=lastname;error=Lastname is required;default=$lastname;classes=spacer)}
|
|
|
|
{include(includes/input;class=input-group;label=E-Mail;name=newEMailAddress;error=E-Mail Address is required;default=$email;classes=spacer)}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="btn-line">
|
2020-12-08 16:38:01 +01:00
|
|
|
{include(includes/btn;type=valid;content=Save)}
|
|
|
|
{include(includes/btn;type=warn;content=Delete User)}
|
2020-12-03 17:58:36 +01:00
|
|
|
</div>
|
2021-01-04 22:24:32 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<h3>Change Password</h3>
|
|
|
|
<form id="password-form" data-id="${id}">
|
|
|
|
{include(includes/input;class=input-group;label=Password;name=password;type=password;classes=spacer)}
|
|
|
|
{include(includes/input;class=input-group;label=Password (Repeat);name=passwordRepeat;type=password;classes=spacer)}
|
|
|
|
<div class="btn-line">
|
|
|
|
{include(includes/btn;type=valid;content=Save)}
|
|
|
|
</div>
|
|
|
|
</form>
|
2020-12-03 17:58:36 +01:00
|
|
|
</div>
|